mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/gifdec: log loop count
This commit is contained in:
parent
05c9f6f4ef
commit
cd7043131f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user