Re: [FFmpeg-devel] [PATCH 38/45] avcodec/cri: Make decoder init-threadsafe

2020-12-04 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2020-11-27 02:02:42) > The only thing that stands in the way of adding the > FF_CODEC_CAP_INIT_THREADSAFE flag to the Cintel RAW decoder is its usage > of ff_codec_open2_recursive(): This function requires its caller to hold > the lock for the mutex that guards initializ

[FFmpeg-devel] [PATCH 38/45] avcodec/cri: Make decoder init-threadsafe

2020-11-26 Thread Andreas Rheinhardt
The only thing that stands in the way of adding the FF_CODEC_CAP_INIT_THREADSAFE flag to the Cintel RAW decoder is its usage of ff_codec_open2_recursive(): This function requires its caller to hold the lock for the mutex that guards initialization of AVCodecContexts whose codecs have a non-threadsa