comparison utils.c @ 5405:e1a281c9d852 libavformat

Change ret type to int64_t because url_fseek returns int64_t. This fixes seeking in files > 2gb. Patch by Sean Soria, sean dot soria at gmail dot com.
author bcoudurier
date Tue, 01 Dec 2009 22:56:44 +0000
parents 0b4951f549d4
children 58fb1f12d94f
comparison
equal deleted inserted replaced
5404:0b4951f549d4 5405:e1a281c9d852
1511 } 1511 }
1512 1512
1513 static int av_seek_frame_generic(AVFormatContext *s, 1513 static int av_seek_frame_generic(AVFormatContext *s,
1514 int stream_index, int64_t timestamp, int flags) 1514 int stream_index, int64_t timestamp, int flags)
1515 { 1515 {
1516 int index, ret; 1516 int index;
1517 int64_t ret;
1517 AVStream *st; 1518 AVStream *st;
1518 AVIndexEntry *ie; 1519 AVIndexEntry *ie;
1519 1520
1520 st = s->streams[stream_index]; 1521 st = s->streams[stream_index];
1521 1522