summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-27 14:23:19 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-11-29 00:01:53 +0100
commit362fdc26577b653053da0a2455c0a6605c764c33 (patch)
tree0739818addfdc32179507444bffb637649ec1288
parentd12cfa17a501ffd9f191093d1e06de226279dbd0 (diff)
avcodec/photocd: Mark decoder as init-threadsafe
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/photocd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/photocd.c b/libavcodec/photocd.c
index aa1b1059e9..408ddeaac8 100644
--- a/libavcodec/photocd.c
+++ b/libavcodec/photocd.c
@@ -469,4 +469,5 @@ AVCodec ff_photocd_decoder = {
.decode = photocd_decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
.long_name = NULL_IF_CONFIG_SMALL("Kodak Photo CD"),
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};