summaryrefslogtreecommitdiff
path: root/libavcodec/y41pdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-26 17:38:23 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-04 15:46:46 +0100
commitb509692c622a3e56e1a972550e042b56f0cadb70 (patch)
treefeb93c3d6ed076a33d7eb7f6c5c4f0c6143b853d /libavcodec/y41pdec.c
parentc53f39abc33348e7d111ffaaabe638ef19cb6e92 (diff)
avcodec/y41pdec: Mark decoder as init-threadsafe
Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/y41pdec.c')
-rw-r--r--libavcodec/y41pdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/y41pdec.c b/libavcodec/y41pdec.c
index 85a39e4ae2..2bfabe277e 100644
--- a/libavcodec/y41pdec.c
+++ b/libavcodec/y41pdec.c
@@ -89,4 +89,5 @@ AVCodec ff_y41p_decoder = {
.init = y41p_decode_init,
.decode = y41p_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};