aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-01 19:36:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-13 20:48:08 +0100
commit84e5b314f354ce733bb6a06d404a6b9f13447d4a (patch)
tree495ed882e1d22cf37e9b23784195bf1988d2f7d4 /libavformat
parent1497f355c7eaee08123870049c697f623f85d5e3 (diff)
downloadffmpeg-84e5b314f354ce733bb6a06d404a6b9f13447d4a.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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/smacker.c b/libavformat/smacker.c
index 284cdc196a..5dcf4adafe 100644
--- a/libavformat/smacker.c
+++ b/libavformat/smacker.c
@@ -321,7 +321,7 @@ static int smacker_read_packet(AVFormatContext *s, AVPacket *pkt)
int err;
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;
}