lavf/apngdec: properly skip currently unsupported in-stream tags
[ffmpeg.git] / libavformat / apngdec.c
index 54fbd29..2af87ad 100644 (file)
@@ -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 */