On 11/20/2017 5:45 PM, Nicolas George wrote:
> James Almer (2017-11-20):
>> This is more in line with other callbacks, like AVCodec.close and
>> AVInputFormat.read_close
> 
> Unless I am mistaken, unlike the "close" callbacks, this one is always
> called, including when init fails.
> 
> Regards,

The three behave in different ways. AVCodec.close is called always from
avcodec_close() but from avcodec_open2() only if
FF_CODEC_CAP_INIT_CLEANUP is set, whereas AVInputFormat.read_close is
called always but exclusively from avformat_close_input().
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to