mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-20 14:31:09 +00:00
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>
This commit is contained in:
parent
08d81d0a01
commit
14b9302f5f
@ -373,6 +373,7 @@ static int apng_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
return 0;
|
return 0;
|
||||||
default:
|
default:
|
||||||
avpriv_request_sample(s, "In-stream tag=%#08X len=%"PRId64"", tag, avio_tell(pb));
|
avpriv_request_sample(s, "In-stream tag=%#08X len=%"PRId64"", tag, avio_tell(pb));
|
||||||
|
avio_skip(pb, len + 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Handle the unsupported yet cases */
|
/* Handle the unsupported yet cases */
|
||||||
|
Loading…
Reference in New Issue
Block a user