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

Benoit Fouet benoit.fouet at free.fr
Sat Nov 22 08:16:50 CET 2014


Hi,

On November 21, 2014 11:09:33 PM GMT+01:00, James Almer <jamrial at gmail.com> wrote:
>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 */

OK, of course (I have this one in my tree but I forgot to send an update for the demuxer when I sent the decoder one...), thanks.

-- 
Ben


More information about the ffmpeg-devel mailing list