summaryrefslogtreecommitdiffstats
path: root/libavcodec/aic.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2017-02-07 16:36:38 +0000
committerMichael Niedermayer <michael@niedermayer.cc>2017-02-07 23:31:25 +0100
commit91ed4e71967f19824237de4c374f038b543c7555 (patch)
treea307f1d9fa97ba1ab11663fa6ef6184f423b9fbd /libavcodec/aic.c
parent8efb7f5a26e7300e09ba01239328d1498238c532 (diff)
downloadffmpeg-streaming-91ed4e71967f19824237de4c374f038b543c7555.zip
ffmpeg-streaming-91ed4e71967f19824237de4c374f038b543c7555.tar.gz
avcodec: Mark some codecs with threadsafe init as such
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/aic.c')
-rw-r--r--libavcodec/aic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/aic.c b/libavcodec/aic.c
index ff8e392..4faa574 100644
--- a/libavcodec/aic.c
+++ b/libavcodec/aic.c
@@ -492,4 +492,5 @@ AVCodec ff_aic_decoder = {
.decode = aic_decode_frame,
.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_FRAME_THREADS,
.init_thread_copy = ONLY_IF_THREADS_ENABLED(aic_decode_init),
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};
OpenPOWER on IntegriCloud