forked from FFmpeg/FFmpeg
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. Originally committed as revision 20693 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
28f2db9670
commit
6659b32ab2
1 changed files with 2 additions and 1 deletions
|
@ -1513,7 +1513,8 @@ static int av_seek_frame_byte(AVFormatContext *s, int stream_index, int64_t pos,
|
||||||
static int av_seek_frame_generic(AVFormatContext *s,
|
static int av_seek_frame_generic(AVFormatContext *s,
|
||||||
int stream_index, int64_t timestamp, int flags)
|
int stream_index, int64_t timestamp, int flags)
|
||||||
{
|
{
|
||||||
int index, ret;
|
int index;
|
||||||
|
int64_t ret;
|
||||||
AVStream *st;
|
AVStream *st;
|
||||||
AVIndexEntry *ie;
|
AVIndexEntry *ie;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue