Commit 1480d9b3 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/gxf: Use 64bit for res to avoid overflow

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 12987f89)
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1aea2213
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment