Commit 3144b152 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

10l

Originally committed as revision 2666 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ac548c5d
......@@ -659,8 +659,10 @@ static int avi_read_close(AVFormatContext *s)
for(i=0;i<s->nb_streams;i++) {
AVStream *st = s->streams[i];
AVIStream *ast = st->priv_data;
av_free(ast->index_entries);
av_free(ast);
if(ast){
av_free(ast->index_entries);
av_free(ast);
}
av_free(st->codec.extradata);
av_free(st->codec.palctrl);
}
......
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