aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-01 19:36:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-12 00:47:05 +0100
commit8cf62b34e4286d3ec2645afc8ef4329bc08f72e1 (patch)
treea7e3ed63aaeb0907caa9220f912ffadac81413b1
parent127a2902533cfb6d55cf1960d5f184eb4f02211f (diff)
downloadffmpeg-8cf62b34e4286d3ec2645afc8ef4329bc08f72e1.tar.gz
avformat/smacker: Fix number suffix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 465f3705b1ef832fd6904750d018f81f9044f3ab) Conflicts: libavformat/smacker.c (cherry picked from commit ef3687998fb46d7d936bb6023f25c1dc324a4640)
-rw-r--r--libavformat/smacker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/smacker.c b/libavformat/smacker.c
index faf85a5261..6a81a48811 100644
--- a/libavformat/smacker.c
+++ b/libavformat/smacker.c
@@ -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;