[FFmpeg-cvslog] avcodec/gifdec: set .caps_internal

Paul B Mahol git at videolan.org
Sun Sep 9 12:41:39 EEST 2018


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Sep  9 11:35:14 2018 +0200| [39cfb722ee7307837b0a58f3825f5513860adee6] | committer: Paul B Mahol

avcodec/gifdec: set .caps_internal

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=39cfb722ee7307837b0a58f3825f5513860adee6
---

 libavcodec/gifdec.c | 2 ++
 1 file changed, 2 insertions(+)

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,
 };



More information about the ffmpeg-cvslog mailing list