[FFmpeg-devel] On obfuscated nature of public(!) API call av_dup_packet()
andrey.krieger.utkin at gmail.com
Sat Sep 15 12:35:37 CEST 2012
2012/9/15 Anton Khirnov <anton at khirnov.net>:
> The thing is, this function is horribly named. It is not 'duplicate
> supplied packet'. It is 'ensure that supplied packet is backed by
> malloced storage and thus will remain valid until the caller frees it'.
> It does so by duplicating the packet payload when the free callback is
Then what about adding a function to mean "duplicate supplied packet"?
More information about the ffmpeg-devel