[SCM] libav/experimental: Fix concat seek result.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:03:27 UTC 2013


The following commit has been merged in the experimental branch:
commit 35eaadcba096cadefb9583c8dcf49e198a05ece0
Author: Wolfram Gloger <wmglo at dent.med.uni-muenchen.de>
Date:   Mon Mar 8 00:22:03 2010 +0000

    Fix concat seek result.
    
    Patch by Wolfram Gloger wmglo AT-SIGN dent.med.uni-muenchen DOT de.
    
    Originally committed as revision 22302 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/concat.c b/libavformat/concat.c
index ed64b6e..3d25788 100644
--- a/libavformat/concat.c
+++ b/libavformat/concat.c
@@ -183,7 +183,7 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence)
     if (result >= 0) {
         data->current = i;
         while (i)
-            result += nodes[i--].size;
+            result += nodes[--i].size;
     }
     return result;
 }

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list