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

Michael Niedermayer michaelni at gmx.at
Sat Nov 22 13:19:42 CET 2014


On Sat, Nov 22, 2014 at 08:16:50AM +0100, Benoit Fouet wrote:
> 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.

applied

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141122/68af49af/attachment.asc>


More information about the ffmpeg-devel mailing list