From 14b9302f5f4452c3dc5c004a1949219ed70c2e26 Mon Sep 17 00:00:00 2001 From: James Almer Date: Fri, 21 Nov 2014 19:09:33 -0300 Subject: [PATCH] lavf/apngdec: properly skip currently unsupported in-stream tags Signed-off-by: James Almer Reviewed-by: Benoit Fouet Signed-off-by: Michael Niedermayer --- libavformat/apngdec.c | 1 + 1 file changed, 1 insertion(+) 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 */