mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-30 22:00:51 +08:00
avformat/smacker: Fix number suffix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit465f3705b1) Conflicts: libavformat/smacker.c (cherry picked from commitef3687998f)
This commit is contained in:
@@ -298,7 +298,7 @@ static int smacker_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||
uint8_t *tmpbuf;
|
||||
|
||||
size = avio_rl32(s->pb) - 4;
|
||||
if(size + 4L > frame_size)
|
||||
if(size + 4LL > frame_size)
|
||||
return AVERROR_INVALIDDATA;
|
||||
frame_size -= size;
|
||||
frame_size -= 4;
|
||||
|
||||
Reference in New Issue
Block a user