diff --git a/libavformat/avidec.c b/libavformat/avidec.c index edc9c93c81cf98d9c4ac55117290f99fdb574dc6..c71d545d4677d64f4885004cba1fcca53a4a68a8 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -484,6 +484,7 @@ static int avi_read_header(AVFormatContext *s) ast = s->streams[0]->priv_data; av_freep(&s->streams[0]->codec->extradata); av_freep(&s->streams[0]->codec); + av_freep(&s->streams[0]->info); av_freep(&s->streams[0]); s->nb_streams = 0; if (CONFIG_DV_DEMUXER) {