[FFmpeg-cvslog] avformat/gifdec: log loop count

Gyan Doshi git at videolan.org
Tue Jul 20 08:50:47 EEST 2021


ffmpeg | branch: master | Gyan Doshi <ffmpeg at gyani.pro> | Mon Jul 19 16:41:34 2021 +0530| [cd7043131f4e2ecf9e5a88c53d3f1a67e2402928] | committer: Gyan Doshi

avformat/gifdec: log loop count

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

 libavformat/gifdec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/gifdec.c b/libavformat/gifdec.c
index c20bde1781..1977f46e3a 100644
--- a/libavformat/gifdec.c
+++ b/libavformat/gifdec.c
@@ -247,6 +247,7 @@ static int gif_read_ext(AVFormatContext *s)
 
             if (sb_size == 3 && data[0] == 1) {
                 gdc->total_iter = AV_RL16(data+1);
+                av_log(s, AV_LOG_DEBUG, "Loop count is %d\n", gdc->total_iter);
 
                 if (gdc->total_iter == 0)
                     gdc->total_iter = -1;



More information about the ffmpeg-cvslog mailing list