[Ffmpeg-cvslog] r7180 - trunk/libavformat/mxf.c

bcoudurier subversion
Tue Nov 28 18:17:37 CET 2006


Author: bcoudurier
Date: Tue Nov 28 18:17:36 2006
New Revision: 7180

Modified:
   trunk/libavformat/mxf.c

Log:
move source_package declaration in the loop and reset it each iteration

Modified: trunk/libavformat/mxf.c
==============================================================================
--- trunk/libavformat/mxf.c	(original)
+++ trunk/libavformat/mxf.c	Tue Nov 28 18:17:36 2006
@@ -758,7 +758,6 @@
 static int mxf_parse_structural_metadata(MXFContext *mxf)
 {
     MXFPackage *material_package = NULL;
-    MXFPackage *source_package = NULL;
     MXFPackage *temp_package = NULL;
     int i, j, k;
 
@@ -780,6 +779,7 @@
     }
 
     for (i = 0; i < material_package->tracks_count; i++) {
+        MXFPackage *source_package = NULL;
         MXFTrack *material_track = NULL;
         MXFTrack *source_track = NULL;
         MXFTrack *temp_track = NULL;




More information about the ffmpeg-cvslog mailing list