[FFmpeg-cvslog] avformat/vqf: Use 64bit for ret to avoid overflow
Michael Niedermayer
git at videolan.org
Sat Mar 14 14:41:07 CET 2015
ffmpeg | branch: release/2.2 | Michael Niedermayer <michaelni at gmx.at> | Fri Feb 20 21:00:57 2015 +0100| [c5c39132b4a3ef7f72dda8ea3d389eb3ba04860b] | 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=c5c39132b4a3ef7f72dda8ea3d389eb3ba04860b
---
libavformat/vqf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/vqf.c b/libavformat/vqf.c
index 74c7f5f..a470366 100644
--- a/libavformat/vqf.c
+++ b/libavformat/vqf.c
@@ -265,7 +265,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