changeset 492:0ed5d359f63a libavformat

compilation of mov.c broken patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
author michael
date Tue, 06 Jul 2004 18:06:17 +0000
parents 4cf46e9a1bb8
children 166b71445aec
files mov.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Tue Jul 06 02:35:39 2004 +0000
+++ b/mov.c	Tue Jul 06 18:06:17 2004 +0000
@@ -1985,9 +1985,10 @@
 
     // Update other streams    
     for (i = 0; i<mov->total_streams; i++) {
+        MOVStreamContext *msc;
         if (i == mov_idx) continue;
         // Find the nearest 'next' chunk
-        MOVStreamContext *msc = mov->streams[i];
+        msc = mov->streams[i];
         a = 0;
         b = msc->chunk_count - 1;
         while (a < b) {