avformat/smacker: Fix number suffix

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 465f3705b1)

Conflicts:

	libavformat/smacker.c
This commit is contained in:
Michael Niedermayer
2015-02-01 19:36:13 +01:00
parent ba5e66cf65
commit ef3687998f

View File

@@ -309,7 +309,7 @@ static int smacker_read_packet(AVFormatContext *s, AVPacket *pkt)
uint8_t *tmpbuf; uint8_t *tmpbuf;
size = avio_rl32(s->pb) - 4; size = avio_rl32(s->pb) - 4;
if(size + 4L > frame_size) if(size + 4LL > frame_size)
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
frame_size -= size; frame_size -= size;
frame_size -= 4; frame_size -= 4;