diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-27 21:43:15 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-27 21:43:15 +0000 |
commit | c187f461f5b570f5be5fa4a16d570dfff20b860b (patch) | |
tree | 4bd7ef267198243e554ac1c803e4459955260846 | |
parent | 6d083dd7e9380664c971d4500c710aa9d7844c7a (diff) | |
download | ffmpeg-c187f461f5b570f5be5fa4a16d570dfff20b860b.tar.gz |
unset Track sets, relying in AVStream->priv_data and will be freed in av_close_input_file
Originally committed as revision 14016 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/mxf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c index e2f4997fad..921b49570a 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -1015,6 +1015,9 @@ static int mxf_read_close(AVFormatContext *s) 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; } |