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:
James Almer 2014-11-21 19:09:33 -03:00 committed by Michael Niedermayer
parent 08d81d0a01
commit 14b9302f5f

View File

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