aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 17:26:41 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-02 02:50:18 +0200
commit3d0559ee7d05e661a824c4af3ad9068fd4c7e0ac (patch)
tree6e75fee06aee485128a23176e4e22403feda2817
parent67b6f5fbb5d2da2a3bcbab4bfbfe86d723be9b5b (diff)
downloadffmpeg-3d0559ee7d05e661a824c4af3ad9068fd4c7e0ac.tar.gz
avcodec/jvdec: Mark decoder as init-threadsafe
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/jvdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/jvdec.c b/libavcodec/jvdec.c
index 584b4a717c..71049bbeb0 100644
--- a/libavcodec/jvdec.c
+++ b/libavcodec/jvdec.c
@@ -243,4 +243,5 @@ const AVCodec ff_jv_decoder = {
.close = decode_close,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};