Commit c187f461 authored by Baptiste Coudurier's avatar Baptiste Coudurier

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
parent 6d083dd7
......@@ -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;
}
......
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