mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
parent
0f0f840716
commit
5ff080fdfa
1 changed files with 4 additions and 0 deletions
|
|
@ -342,6 +342,10 @@ static int apng_read_packet(AVFormatContext *s, AVPacket *pkt)
|
|||
|
||||
len = avio_rb32(pb);
|
||||
tag = avio_rl32(pb);
|
||||
|
||||
if (avio_feof(pb))
|
||||
return AVERROR_EOF;
|
||||
|
||||
switch (tag) {
|
||||
case MKTAG('f', 'c', 'T', 'L'):
|
||||
if (len != 26)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue