summaryrefslogtreecommitdiff
path: root/libavcodec/flacdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 23:06:29 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 03:19:46 +0200
commit15d003a49567d5895aeb97d8de119c938316e8eb (patch)
treecb23df962b9c377db3824f69f51eb860a1af39cf /libavcodec/flacdec.c
parent9fd34c8bb368e3aa96ccc4868878a515146f7498 (diff)
downloadffmpeg-15d003a49567d5895aeb97d8de119c938316e8eb.tar.gz
avcodec/flacdec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/flacdec.c')
-rw-r--r--libavcodec/flacdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index c62661a353..09051cc663 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -678,4 +678,5 @@ const AVCodec ff_flac_decoder = {
AV_SAMPLE_FMT_S32P,
AV_SAMPLE_FMT_NONE },
.priv_class = &flac_decoder_class,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};