changeset 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 cef1f2baca9c
files utils.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Tue Dec 01 20:15:05 2009 +0000
+++ b/utils.c	Tue Dec 01 22:56:44 2009 +0000
@@ -1513,7 +1513,8 @@
 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;