[Libav-user] av_read_frame packet unref guarantee
anonymous.from.applecity at gmail.com
Mon Aug 22 19:23:18 EEST 2022
After following the call chain I found this line
https://ffmpeg.org/doxygen/trunk/demux_8c_source.html#l00549. Does it mean
that it is guaranteed the packet passed as argument will be unrefined first
in newer versions of ffmpeg? As in, is this part of the public interface
now? I think there is no way it is correct to not unref before overwriting
the packet, except may be when the bufferref points at external data.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user