aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-26 17:40:17 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-04 15:46:46 +0100
commit13f10dc15ef7044fd4ff873623f9b07d64ac8a47 (patch)
tree06822dac88ddd805f646d46344ceb5b1b4675d40
parentced33a2cded3078faf68ac8ecb550063eb8c0667 (diff)
downloadffmpeg-13f10dc15ef7044fd4ff873623f9b07d64ac8a47.tar.gz
avcodec/yuv4dec: Mark decoder as init-threadsafe
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/yuv4dec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/yuv4dec.c b/libavcodec/yuv4dec.c
index f89f62debe..3fb1dbac28 100644
--- a/libavcodec/yuv4dec.c
+++ b/libavcodec/yuv4dec.c
@@ -81,4 +81,5 @@ AVCodec ff_yuv4_decoder = {
.init = yuv4_decode_init,
.decode = yuv4_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};