diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-08 15:51:29 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-02-09 06:52:41 +0100 |
commit | 42140010a2abcfe5330dcde546a827be60ab0649 (patch) | |
tree | 5998aba8e447551ec2a53791dd12597757a41dce /libavcodec/hcadec.c | |
parent | 2c7f25d4608ba7d681b8f156dec75a5c60688be8 (diff) | |
download | ffmpeg-42140010a2abcfe5330dcde546a827be60ab0649.tar.gz |
avcodec/hcadec: Mark decoder as init-threadsafe
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/hcadec.c')
-rw-r--r-- | libavcodec/hcadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 }, }; |