[Libav-user] av_read_frame packet unref guarantee

Olzhas Zhumabek anonymous.from.applecity at gmail.com
Mon Aug 22 19:23:18 EEST 2022


Hi,

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.

Kind regards,
Olzhas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20220822/8bf8a147/attachment.htm>


More information about the Libav-user mailing list