mirror of https://git.ffmpeg.org/ffmpeg.git
lavf: make sure stream probe data gets freed.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
This commit is contained in:
parent
6d0546bbaf
commit
dbb1425811
|
@ -2650,6 +2650,7 @@ void avformat_free_context(AVFormatContext *s)
|
||||||
if (st->attached_pic.data)
|
if (st->attached_pic.data)
|
||||||
av_free_packet(&st->attached_pic);
|
av_free_packet(&st->attached_pic);
|
||||||
av_dict_free(&st->metadata);
|
av_dict_free(&st->metadata);
|
||||||
|
av_freep(&st->probe_data.buf);
|
||||||
av_free(st->index_entries);
|
av_free(st->index_entries);
|
||||||
av_free(st->codec->extradata);
|
av_free(st->codec->extradata);
|
||||||
av_free(st->codec->subtitle_header);
|
av_free(st->codec->subtitle_header);
|
||||||
|
|
Loading…
Reference in New Issue