diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-06 17:51:27 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-12 06:00:13 +0200 |
commit | 08fcb43affabe53a549241cc199542e9ac89070c (patch) | |
tree | 13c85072d45b60118a2575e8db078455dc039c3e /libavcodec/wmadec.c | |
parent | bd1cbb5427c156f40f1a94c57dac0cf667f34b7b (diff) | |
download | ffmpeg-08fcb43affabe53a549241cc199542e9ac89070c.tar.gz |
avcodec/wmadec: Mark decoders as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/wmadec.c')
-rw-r--r-- | libavcodec/wmadec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c index 47abcecc9c..d627bbe50e 100644 --- a/libavcodec/wmadec.c +++ b/libavcodec/wmadec.c @@ -988,7 +988,7 @@ const AVCodec ff_wmav1_decoder = { .capabilities = AV_CODEC_CAP_DR1, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE }, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, }; #endif #if CONFIG_WMAV2_DECODER @@ -1005,6 +1005,6 @@ const AVCodec ff_wmav2_decoder = { .capabilities = AV_CODEC_CAP_DR1, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLTP, AV_SAMPLE_FMT_NONE }, - .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP, }; #endif |