[FFmpeg-cvslog] avcodec/hcadec: Mark decoder as init-threadsafe
Andreas Rheinhardt
git at videolan.org
Wed Feb 9 08:07:01 EET 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Tue Feb 8 15:51:29 2022 +0100| [42140010a2abcfe5330dcde546a827be60ab0649] | committer: Andreas Rheinhardt
avcodec/hcadec: Mark decoder as init-threadsafe
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> 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 },
};
More information about the ffmpeg-cvslog
mailing list