aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-26 17:15:51 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-04 15:46:46 +0100
commitc53f39abc33348e7d111ffaaabe638ef19cb6e92 (patch)
treeea0bb4fba55fa284f336d5e391064095c6300155
parentb143f8c26ac4da3a08ca78d7c586c9cc1ba408aa (diff)
downloadffmpeg-c53f39abc33348e7d111ffaaabe638ef19cb6e92.tar.gz
avcodec/yop: 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/yop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/yop.c b/libavcodec/yop.c
index aff28ef3fc..8f8ed940ec 100644
--- a/libavcodec/yop.c
+++ b/libavcodec/yop.c
@@ -274,4 +274,5 @@ AVCodec ff_yop_decoder = {
.init = yop_decode_init,
.close = yop_decode_close,
.decode = yop_decode_frame,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};