diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-01 19:36:13 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-10 02:13:08 +0200 |
commit | 6e4e32e7590c0b4fabd4248a54c30a9898ed530a (patch) | |
tree | e30feab8a4d4b3a4c824f061dc6c9617888625da | |
parent | 5c36d0e1cdb861df3958b05133d917e3b81a9d6f (diff) | |
download | ffmpeg-6e4e32e7590c0b4fabd4248a54c30a9898ed530a.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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/smacker.c b/libavformat/smacker.c index b4c1bf4335..73b49edd21 100644 --- a/libavformat/smacker.c +++ b/libavformat/smacker.c @@ -310,7 +310,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; } |