mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 03:28:27 +00:00
parent
0f0f840716
commit
5ff080fdfa
@ -342,6 +342,10 @@ static int apng_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
|
|
||||||
len = avio_rb32(pb);
|
len = avio_rb32(pb);
|
||||||
tag = avio_rl32(pb);
|
tag = avio_rl32(pb);
|
||||||
|
|
||||||
|
if (avio_feof(pb))
|
||||||
|
return AVERROR_EOF;
|
||||||
|
|
||||||
switch (tag) {
|
switch (tag) {
|
||||||
case MKTAG('f', 'c', 'T', 'L'):
|
case MKTAG('f', 'c', 'T', 'L'):
|
||||||
if (len != 26)
|
if (len != 26)
|
||||||
|
Loading…
Reference in New Issue
Block a user