aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-07 19:18:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-07 19:18:53 +0200
commit8993c256950067f29bc750140514ef6a1f5fd05d (patch)
tree16845a2a9e527429f2c362b28552b9955235043d
parent2f6f2f4f73c068979829e785d08cb1dd345c7fc8 (diff)
downloadffmpeg-8993c256950067f29bc750140514ef6a1f5fd05d.tar.gz
avidec: fix AVStream.info memleak with dv.
Fixes Ticket1334 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/avidec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index cc716a2520..0144b65f6f 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -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) {