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 18:03:49 +0100
commit1d73ad25dcb26b7eb1cdd48ee5acf29cea402fee (patch)
tree1f905ee9254c83bc4a41fb27853dd57e601877d2
parentc00fd60ab34506c2f4f5b6e704604f25962af129 (diff)
downloadffmpeg-1d73ad25dcb26b7eb1cdd48ee5acf29cea402fee.tar.gz
avformat/smacker: Fix number suffix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 465f3705b1ef832fd6904750d018f81f9044f3ab) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/smacker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/smacker.c b/libavformat/smacker.c
index e948c22f01..20530814d3 100644
--- a/libavformat/smacker.c
+++ b/libavformat/smacker.c
@@ -303,7 +303,7 @@ static int smacker_read_packet(AVFormatContext *s, AVPacket *pkt)
uint8_t *tmpbuf;
size = avio_rl32(s->pb) - 4;
- if (!size || size + 4L > frame_size) {
+ if (!size || size + 4LL > frame_size) {
av_log(s, AV_LOG_ERROR, "Invalid audio part size\n");
return AVERROR_INVALIDDATA;
}