[Libav-user] Closing off AVCodecContext

Kristijonas Malisauskas km at sportcaster.dk
Thu Aug 25 17:49:05 EEST 2016


Hello,

I am having problems trying to use "avcodec_close" on AVCodecContext that
has received packets to decode yet has not finished going though the whole
stream. Using avcodec_flush_buffers does not seem to help either. How
should I go about correctly closing and freeing up the AVCodecContext in
such a situation?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160825/a5f37635/attachment.html>


More information about the Libav-user mailing list