Commit 8993c256 authored by Michael Niedermayer's avatar Michael Niedermayer

avidec: fix AVStream.info memleak with dv.

Fixes Ticket1334
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2f6f2f4f
......@@ -483,6 +483,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) {
......
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