aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-03-08 23:39:53 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-03-08 23:39:53 +0000
commit9145f8b386798c7807e60e3e30b78a08d6e6c41d (patch)
tree2df5e0e598c5ea75fa26890a5bbfb44e7ad35b27
parent0bf79c2fcd37c4ceb421eed878aa0468830a53e4 (diff)
downloadffmpeg-9145f8b386798c7807e60e3e30b78a08d6e6c41d.tar.gz
10l
Originally committed as revision 1653 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/avidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index ebde3d0c54..e80194ed67 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -209,8 +209,8 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
if (stream_index != s->nb_streams - 1) {
fail:
for(i=0;i<s->nb_streams;i++) {
- av_freep(&s->streams[i]);
av_freep(&s->streams[i]->codec.extradata);
+ av_freep(&s->streams[i]);
}
return -1;
}