diff options
author | Sean Soria <sean.soria@gmail.com> | 2009-12-01 22:56:44 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-12-01 22:56:44 +0000 |
commit | 6659b32ab290e502807cf918697379774cee767b (patch) | |
tree | f51a9ca627c8f38afd4df0ca8989d4113de33e34 | |
parent | 28f2db9670da1fd060b7a10ff7e5349842051d00 (diff) | |
download | ffmpeg-6659b32ab290e502807cf918697379774cee767b.tar.gz |
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
-rw-r--r-- | libavformat/utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index fef8ca20ce..82d1adb25f 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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, int stream_index, int64_t timestamp, int flags) { - int index, ret; + int index; + int64_t ret; AVStream *st; AVIndexEntry *ie; |