changeset 3528:290a8617ed9d libavformat

unset Track sets, relying in AVStream->priv_data and will be freed in av_close_input_file
author bcoudurier
date Fri, 27 Jun 2008 21:43:15 +0000
parents 32840cdd83b3
children 579f6524e344
files mxf.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mxf.c	Fri Jun 27 21:42:08 2008 +0000
+++ b/mxf.c	Fri Jun 27 21:43:15 2008 +0000
@@ -1015,6 +1015,9 @@
         case MaterialPackage:
             av_freep(&((MXFPackage *)mxf->metadata_sets[i])->tracks_refs);
             break;
+        case Track:
+            mxf->metadata_sets[i] = NULL; /* will be freed later */
+            break;
         default:
             break;
         }