diff --git a/libavformat/apngdec.c b/libavformat/apngdec.c index 54fbd29c61..2af87ad497 100644 --- a/libavformat/apngdec.c +++ b/libavformat/apngdec.c @@ -373,6 +373,7 @@ static int apng_read_packet(AVFormatContext *s, AVPacket *pkt) return 0; default: avpriv_request_sample(s, "In-stream tag=%#08X len=%"PRId64"", tag, avio_tell(pb)); + avio_skip(pb, len + 4); } /* Handle the unsupported yet cases */