Vladimir Eremeev wrote: > > About smart pointers. > They are not for reallocation. Sorry, if this name confused someone. > FFmpeg maintains the incoming packets in the list internally (see the > function in the second link to gmane) and removes them on its own > discretion, not on the user will. >
That's why it has two packet destructors. One of them just hides the packet data from a user and leaves them for FFmpeg's internal use. -- View this message in context: http://www.nabble.com/av_free_packet-doesn%27t-frees-memory-tp21289362p21400376.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
