Commit 7f25df4c authored by Baptiste Coudurier's avatar Baptiste Coudurier

move source_package declaration in the loop and reset it each iteration

Originally committed as revision 7180 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6a287fd7
......@@ -758,7 +758,6 @@ static void *mxf_resolve_strong_ref(MXFContext *mxf, UID *strong_ref)
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 @@ static int mxf_parse_structural_metadata(MXFContext *mxf)
}
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment