1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

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
This commit is contained in:
Baptiste Coudurier 2008-06-27 21:43:15 +00:00
parent 6d083dd7e9
commit c187f461f5

View File

@ -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;
}