diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-29 00:57:53 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-02 02:41:12 +0200 |
commit | f6cc7199a521bd49c9461caff1a4b89143927206 (patch) | |
tree | 4359c981946f546162b9dfde4fa9000eabced228 | |
parent | 8a67b20232b7bde62269c1f435bebd1af79fba49 (diff) | |
download | ffmpeg-f6cc7199a521bd49c9461caff1a4b89143927206.tar.gz |
avcodec/mace: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/mace.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mace.c b/libavcodec/mace.c index aa1f8e2de5..506a0ddece 100644 --- a/libavcodec/mace.c +++ b/libavcodec/mace.c @@ -295,6 +295,7 @@ const AVCodec ff_mace3_decoder = { .capabilities = AV_CODEC_CAP_DR1, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_NONE }, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; const AVCodec ff_mace6_decoder = { @@ -308,4 +309,5 @@ const AVCodec ff_mace6_decoder = { .capabilities = AV_CODEC_CAP_DR1, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16P, AV_SAMPLE_FMT_NONE }, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; |