From 6659b32ab290e502807cf918697379774cee767b Mon Sep 17 00:00:00 2001 From: Sean Soria Date: Tue, 1 Dec 2009 22:56:44 +0000 Subject: 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 --- libavformat/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavformat') diff --git a/libavformat/utils.c b/libavformat/utils.c index fef8ca2..82d1adb 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; -- cgit v1.1