diff options
author | Jai Menon <jmenon86@gmail.com> | 2010-07-17 05:08:01 +0000 |
---|---|---|
committer | Jai Menon <jmenon86@gmail.com> | 2010-07-17 05:08:01 +0000 |
commit | a58e6ceae087bf24e10d4cfa88c05d9377287539 (patch) | |
tree | e629a3b3cff3e8c568e9b61cfa4b37a2c9a9c4a8 /libavformat/avidec.c | |
parent | 57fe80fe886291eec84ab41aa4b0e07901f6b6a5 (diff) | |
download | ffmpeg-a58e6ceae087bf24e10d4cfa88c05d9377287539.tar.gz |
avidec : Free codec context before initializing the chained DV demuxer.
Originally committed as revision 24279 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 78ccc2639c..058acd5263 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) { |