[FFmpeg-cvslog] lavf/apngdec: properly skip currently unsupported in-stream tags

James Almer git at videolan.org
Sat Nov 22 13:19:37 CET 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Nov 21 19:09:33 2014 -0300| [14b9302f5f4452c3dc5c004a1949219ed70c2e26] | committer: Michael Niedermayer

lavf/apngdec: properly skip currently unsupported in-stream tags

Signed-off-by: James Almer <jamrial at gmail.com>
Reviewed-by: Benoit Fouet <benoit.fouet at free.fr>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=14b9302f5f4452c3dc5c004a1949219ed70c2e26
---

 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 */



More information about the ffmpeg-cvslog mailing list