aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/gifdec.c
diff options
context:
space:
mode:
authorPaul B Mahol2018-09-09 11:35:14 +0200
committerPaul B Mahol2018-09-09 11:35:14 +0200
commit39cfb722ee7307837b0a58f3825f5513860adee6 (patch)
treed5df44e7fa600971d24537e48f8ac46c55e96941 /libavcodec/gifdec.c
parent158043bae84bdcb988ecf423bf4b2eea5b12fb6e (diff)
avcodec/gifdec: set .caps_internal
Diffstat (limited to 'libavcodec/gifdec.c')
-rw-r--r--libavcodec/gifdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c
index a3116e417e..54f1d4c0ba 100644
--- a/libavcodec/gifdec.c
+++ b/libavcodec/gifdec.c
@@ -561,5 +561,7 @@ AVCodec ff_gif_decoder = {
.close = gif_decode_close,
.decode = gif_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
+ .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE |
+ FF_CODEC_CAP_INIT_CLEANUP,
.priv_class = &decoder_class,
};