summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-30 19:13:00 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 04:05:34 +0200
commit010072d14886a404e9ee0bd53ed2620e69befc9d (patch)
treec9f7a5d1356f1832b67ccce7d17617caf3e3815e
parent3feccede3b3483f84b947e1db16fc976033da3e4 (diff)
avcodec/tta: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/tta.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index 83e857ae25..f628071ba3 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -425,4 +425,5 @@ const AVCodec ff_tta_decoder = {
.decode = tta_decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS | AV_CODEC_CAP_CHANNEL_CONF,
.priv_class = &tta_decoder_class,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};