Commit cd6473d8 authored by bcoudurier's avatar bcoudurier

unset Track sets, relying in AVStream->priv_data and will be freed in av_close_input_file

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14016 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 286e5071
...@@ -1015,6 +1015,9 @@ static int mxf_read_close(AVFormatContext *s) ...@@ -1015,6 +1015,9 @@ static int mxf_read_close(AVFormatContext *s)
case MaterialPackage: case MaterialPackage:
av_freep(&((MXFPackage *)mxf->metadata_sets[i])->tracks_refs); av_freep(&((MXFPackage *)mxf->metadata_sets[i])->tracks_refs);
break; break;
case Track:
mxf->metadata_sets[i] = NULL; /* will be freed later */
break;
default: default:
break; 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