[FFmpeg-devel] [PATCH 1/2] avidec : Free DV codec context.
Jai Menon
jmenon86
Wed Jul 14 23:05:44 CEST 2010
---
libavformat/avidec.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 78ccc26..058acd5 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -397,6 +397,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
ast = s->streams[0]->priv_data;
av_freep(&s->streams[0]->codec->extradata);
+ av_freep(&s->streams[0]->codec);
av_freep(&s->streams[0]);
s->nb_streams = 0;
if (CONFIG_DV_DEMUXER) {
--
1.7.1.1
More information about the ffmpeg-devel
mailing list