Commit 7d76fc1c authored by michael's avatar michael

10l


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2666 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e42301f3
......@@ -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