mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-14 01:32:00 +00:00
parent
121bf1b3b8
commit
d58752bcb9
@ -243,7 +243,10 @@ static int aiff_read_header(AVFormatContext *s)
|
||||
if (size < 0)
|
||||
return size;
|
||||
|
||||
filesize -= size + 8;
|
||||
if (size >= 0x7fffffff - 8)
|
||||
filesize = 0;
|
||||
else
|
||||
filesize -= size + 8;
|
||||
|
||||
switch (tag) {
|
||||
case MKTAG('C', 'O', 'M', 'M'): /* Common chunk */
|
||||
|
Loading…
x
Reference in New Issue
Block a user