[Libav-user] Hi, question regarding closing a codec context

Dafna Hirschfeld dafna3 at gmail.com
Wed Aug 23 13:21:03 EEST 2017


 I use the ffmpeg api to decode video.
After allocating and opening a *AvCodecContext* with *avcodec_open2*, then
when decoding finishes, is it valid to call just
*avcodec_flush_buffers* and *avcodec_free_context* without calling
*avcodec_close* ?

thanks
Dafna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170823/6a568b1e/attachment.html>


More information about the Libav-user mailing list