summaryrefslogtreecommitdiff
path: root/libavcodec/ylc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-12-26 20:28:40 +0100
committerPaul B Mahol <onemda@gmail.com>2016-12-26 20:28:40 +0100
commit2f347c17d64624bf38b0957a3ddffbe7eeffe82a (patch)
treeaebd10b4bd291799dd00f96d619c0e06e2117e0b /libavcodec/ylc.c
parent31bf37cba8ff1e385d38653e0381485c3a8b4c8a (diff)
downloadffmpeg-2f347c17d64624bf38b0957a3ddffbe7eeffe82a.tar.gz
avcodec/ylc: thread safe initialization is possible with this codec
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/ylc.c')
-rw-r--r--libavcodec/ylc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ylc.c b/libavcodec/ylc.c
index 3230c56dac..02162a37e7 100644
--- a/libavcodec/ylc.c
+++ b/libavcodec/ylc.c
@@ -494,4 +494,5 @@ AVCodec ff_ylc_decoder = {
.close = decode_end,
.decode = decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};