diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-01 19:36:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-12 18:03:49 +0100 |
commit | 1d73ad25dcb26b7eb1cdd48ee5acf29cea402fee (patch) | |
tree | 1f905ee9254c83bc4a41fb27853dd57e601877d2 /libavformat | |
parent | c00fd60ab34506c2f4f5b6e704604f25962af129 (diff) | |
download | ffmpeg-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>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/smacker.c | 2 |
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; } |