Mercurial > libavformat.hg
changeset 1543:394a8590d5a0 libavformat
move source_package declaration in the loop and reset it each iteration
author | bcoudurier |
---|---|
date | Tue, 28 Nov 2006 17:17:36 +0000 |
parents | 98ef8d631737 |
children | 49256f9ea0e9 |
files | mxf.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mxf.c Tue Nov 28 15:34:18 2006 +0000 +++ b/mxf.c Tue Nov 28 17:17:36 2006 +0000 @@ -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;