[FFmpeg-devel] [PATCH 1/2] lavf/apngdec: properly skip currently unsupported in-stream tags

James Almer jamrial at gmail.com
Fri Nov 21 23:09:33 CET 2014


Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavformat/apngdec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/apngdec.c b/libavformat/apngdec.c
index 54fbd29..2af87ad 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 */
-- 
2.1.3



More information about the ffmpeg-devel mailing list