summaryrefslogtreecommitdiffstats
path: root/libavcodec/aic.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2017-02-08 14:42:16 +0000
committerLuca Barbato <lu_zero@gentoo.org>2017-02-09 23:28:18 +0100
commit77c23704c769168e4210956314775a1931f6aa0b (patch)
treeb030793ba75a72df0b92be3359881bd45e14c981 /libavcodec/aic.c
parent0c0b87f12d48d4e7f0d3d13f9345e828a3a5ea32 (diff)
downloadffmpeg-streaming-77c23704c769168e4210956314775a1931f6aa0b.zip
ffmpeg-streaming-77c23704c769168e4210956314775a1931f6aa0b.tar.gz
avcodec: Mark some codecs with threadsafe init as such
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
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 ed0be44..de9d7de 100644
--- a/libavcodec/aic.c
+++ b/libavcodec/aic.c
@@ -488,4 +488,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