[FFmpeg-cvslog] r22302 - trunk/libavformat/concat.c

stefano subversion
Mon Mar 8 01:22:03 CET 2010


Author: stefano
Date: Mon Mar  8 01:22:03 2010
New Revision: 22302

Log:
Fix concat seek result.

Patch by Wolfram Gloger wmglo AT-SIGN dent.med.uni-muenchen DOT de.

Modified:
   trunk/libavformat/concat.c

Modified: trunk/libavformat/concat.c
==============================================================================
--- trunk/libavformat/concat.c	Mon Mar  8 01:00:50 2010	(r22301)
+++ trunk/libavformat/concat.c	Mon Mar  8 01:22:03 2010	(r22302)
@@ -183,7 +183,7 @@ static int64_t concat_seek(URLContext *h
     if (result >= 0) {
         data->current = i;
         while (i)
-            result += nodes[i--].size;
+            result += nodes[--i].size;
     }
     return result;
 }



More information about the ffmpeg-cvslog mailing list