diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-23 04:20:07 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-08 17:51:48 +0100 |
commit | 4f5bd6177da43263a47239d96ec1776ccf46368e (patch) | |
tree | 77c14371ab148cd679f253d1393ca0139432edb2 /libavcodec/dstdec.c | |
parent | fd5d66af744462a97237fa0474e77924c71729ec (diff) |
avcodec/dsd: Make initializing DSD tables thread-safe
This automatically makes the DSD formats as well as DST and WavPack
init-threadsafe.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/dstdec.c')
-rw-r--r-- | libavcodec/dstdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dstdec.c b/libavcodec/dstdec.c index 41e761d7e5..3fd710d2f6 100644 --- a/libavcodec/dstdec.c +++ b/libavcodec/dstdec.c @@ -389,4 +389,5 @@ AVCodec ff_dst_decoder = { .capabilities = AV_CODEC_CAP_DR1, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLT, AV_SAMPLE_FMT_NONE }, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; |