Originally committed as revision 1653 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 22 years ago
parent 0bf79c2fcd
commit 9145f8b386
  1. 2
      libavformat/avidec.c

@ -209,8 +209,8 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
if (stream_index != s->nb_streams - 1) { if (stream_index != s->nb_streams - 1) {
fail: fail:
for(i=0;i<s->nb_streams;i++) { 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]->codec.extradata);
av_freep(&s->streams[i]);
} }
return -1; return -1;
} }

Loading…
Cancel
Save