[FFmpeg-cvslog] avformat/smacker: Fix number suffix
Michael Niedermayer
git at videolan.org
Fri Mar 13 17:49:01 CET 2015
ffmpeg | branch: release/1.1 | Michael Niedermayer <michaelni at gmx.at> | Sun Feb 1 19:36:13 2015 +0100| [2894f27761c696346328fa73d9257471fc884344] | committer: Michael Niedermayer
avformat/smacker: Fix number suffix
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 465f3705b1ef832fd6904750d018f81f9044f3ab)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2894f27761c696346328fa73d9257471fc884344
---
libavformat/smacker.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/smacker.c b/libavformat/smacker.c
index 47f4417..1af3111 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;
}
More information about the ffmpeg-cvslog
mailing list