diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 20:14:56 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 20:30:26 +0100 |
commit | 1480d9b3d39b8f4ba4f9a327c2f7d492118f75ad (patch) | |
tree | 8251e9d8d8c5f07d2ed675f8923eb4299dcb66a6 | |
parent | 1aea2213a68674b61f09bcde2a4ff94fb9d586a4 (diff) | |
download | ffmpeg-1480d9b3d39b8f4ba4f9a327c2f7d492118f75ad.tar.gz |
avformat/gxf: Use 64bit for res to avoid overflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 12987f89007ee82b9d3a6090085dfaef8461ab8b)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/gxf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gxf.c b/libavformat/gxf.c index e15d06aaf9..c0a38171fc 100644 --- a/libavformat/gxf.c +++ b/libavformat/gxf.c @@ -556,7 +556,7 @@ static int gxf_packet(AVFormatContext *s, AVPacket *pkt) { } static int gxf_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags) { - int res = 0; + int64_t res = 0; uint64_t pos; uint64_t maxlen = 100 * 1024 * 1024; AVStream *st = s->streams[0]; |