[FFmpeg-cvslog] avformat/vqf: Use 64bit for ret to avoid overflow
Michael Niedermayer
git at videolan.org
Fri Mar 13 17:49:04 CET 2015
ffmpeg | branch: release/1.1 | Michael Niedermayer <michaelni at gmx.at> | Fri Feb 20 21:00:57 2015 +0100| [07dcf5b05a198d10375faac71f63442df2406f11] | committer: Michael Niedermayer
avformat/vqf: Use 64bit for ret to avoid overflow
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit cb08687180683a755d0fe9d425280d0e4d1e6db2)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=07dcf5b05a198d10375faac71f63442df2406f11
---
libavformat/vqf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/vqf.c b/libavformat/vqf.c
index 81c1b39..0d82ad1 100644
--- a/libavformat/vqf.c
+++ b/libavformat/vqf.c
@@ -262,7 +262,7 @@ static int vqf_read_seek(AVFormatContext *s,
{
VqfContext *c = s->priv_data;
AVStream *st;
- int ret;
+ int64_t ret;
int64_t pos;
st = s->streams[stream_index];
More information about the ffmpeg-cvslog
mailing list