ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | Thu Nov 26 16:40:42 2020 +0100| [5ff030f922c0fea0c8659866da33340b64afe8f0] | committer: Andreas Rheinhardt
avcodec/pcm: Mark decoders as init-threadsafe Reviewed-by: Anton Khirnov <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ff030f922c0fea0c8659866da33340b64afe8f0 --- libavcodec/pcm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 8ba38c6645..7f0af8564f 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -575,6 +575,7 @@ AVCodec ff_ ## name_ ## _decoder = { \ .capabilities = AV_CODEC_CAP_DR1, \ .sample_fmts = (const enum AVSampleFormat[]){ sample_fmt_, \ AV_SAMPLE_FMT_NONE }, \ + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, \ } #define PCM_DECODER_2(cf, id, sample_fmt, name, long_name) \ _______________________________________________ ffmpeg-cvslog mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
