changeset 5771:e8c8f5a002ff libavformat

Fix concat seek result. Patch by Wolfram Gloger wmglo AT-SIGN dent.med.uni-muenchen DOT de.
author stefano
date Mon, 08 Mar 2010 00:22:03 +0000
parents 20ed96c29062
children d3d45b140065
files concat.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/concat.c	Mon Mar 08 00:00:50 2010 +0000
+++ b/concat.c	Mon Mar 08 00:22:03 2010 +0000
@@ -183,7 +183,7 @@
     if (result >= 0) {
         data->current = i;
         while (i)
-            result += nodes[i--].size;
+            result += nodes[--i].size;
     }
     return result;
 }