Commit 04cc753d authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'd51f0996'

* commit 'd51f0996':
  mov: Free intermediate arrays in the normal cleanup function

Conflicts:
	libavformat/mov.c

See: a6b3e6d0Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 8b4190da d51f0996
......@@ -3281,13 +3281,15 @@ static int mov_read_close(AVFormatContext *s)
av_freep(&sc->drefs);
if (!sc->pb_is_copied)
avio_close(sc->pb);
sc->pb = NULL;
av_freep(&sc->chunk_offsets);
av_freep(&sc->keyframes);
av_freep(&sc->sample_sizes);
av_freep(&sc->stps_data);
av_freep(&sc->stsc_data);
av_freep(&sc->sample_sizes);
av_freep(&sc->keyframes);
av_freep(&sc->stts_data);
av_freep(&sc->stps_data);
av_freep(&sc->rap_group);
}
if (mov->dv_demux) {
......
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