[FFmpeg-devel] [PATCH 2/2] avcodec: make avcodec_close() more tolerant.

Clément Bœsch u at pkh.me
Wed Sep 4 22:13:14 CEST 2013

On Wed, Sep 04, 2013 at 07:42:20PM +0400, Kirill Gavrilov wrote:
> Maybe avcodec_flush_buffers() could be improved in this way as well?

I'm not sure about this one. AFAIK you don't call this at the main
initialization exit label, more likely after or inside a
demuxing/decoding/encoding/muxing loop, where it is assumed that the codec
is already initialized properly.

Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130904/af090cae/attachment.asc>

More information about the ffmpeg-devel mailing list