[SCM] libav/experimental: 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.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:55:19 UTC 2013


The following commit has been merged in the experimental branch:
commit 6659b32ab290e502807cf918697379774cee767b
Author: Sean Soria <sean.soria at gmail.com>
Date:   Tue Dec 1 22:56:44 2009 +0000

    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

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;
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list