ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | Tue Feb 8 15:51:29 2022 +0100| [42140010a2abcfe5330dcde546a827be60ab0649] | committer: Andreas Rheinhardt
avcodec/hcadec: Mark decoder as init-threadsafe Reviewed-by: Paul B Mahol <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=42140010a2abcfe5330dcde546a827be60ab0649 --- libavcodec/hcadec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hcadec.c b/libavcodec/hcadec.c index ef3af08c4c..f5e23efc5b 100644 --- a/libavcodec/hcadec.c +++ b/libavcodec/hcadec.c @@ -455,7 +455,7 @@ const AVCodec ff_hca_decoder = { .decode = decode_frame, .close = decode_close, .capabilities = AV_CODEC_CAP_DR1, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE }, }; _______________________________________________ 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".
