uniformize AVStream->priv_data freeing in av_close_input_stream

Originally committed as revision 13838 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier
2008-06-20 17:22:56 +00:00
parent ccafd47251
commit ade8d8b939
5 changed files with 1 additions and 6 deletions

View File

@@ -2203,6 +2203,7 @@ void av_close_input_stream(AVFormatContext *s)
av_free(st->codec->extradata);
av_free(st->codec);
av_free(st->filename);
av_free(st->priv_data);
av_free(st);
}
for(i=s->nb_programs-1; i>=0; i--) {