aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-11-21 19:09:33 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-11-22 13:14:28 +0100
commit14b9302f5f4452c3dc5c004a1949219ed70c2e26 (patch)
tree136150bd6536c4313437a6a7ff78e297ce395556
parent08d81d0a01e484dca3de0a269d042f151b8aeacd (diff)
downloadffmpeg-14b9302f5f4452c3dc5c004a1949219ed70c2e26.tar.gz
lavf/apngdec: properly skip currently unsupported in-stream tags
Signed-off-by: James Almer <jamrial@gmail.com> Reviewed-by: Benoit Fouet <benoit.fouet@free.fr> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/apngdec.c1
1 files changed, 1 insertions, 0 deletions
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 */