free codec extradata in av_close_input_file

Originally committed as revision 5484 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård
2006-06-16 07:54:37 +00:00
parent 47dd81c75f
commit a5e9102b4b
9 changed files with 1 additions and 17 deletions

View File

@@ -2167,6 +2167,7 @@ void av_close_input_file(AVFormatContext *s)
av_parser_close(st->parser);
}
av_free(st->index_entries);
av_free(st->codec->extradata);
av_free(st->codec);
av_free(st);
}