Browse Source

Fix an invalid free in the AVI muxer when an unsupported audio track is added.

patch by Laurent Aimar, fenrir via.ecp fr

Originally committed as revision 15159 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Laurent Aimar Diego Biurrun 16 years ago
parent
commit
d1c2156bc6
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      libavformat/avienc.c

+ 0
- 1
libavformat/avienc.c View File

@@ -249,7 +249,6 @@ static int avi_write_header(AVFormatContext *s)
break;
case CODEC_TYPE_AUDIO:
if (put_wav_header(pb, stream) < 0) {
av_free(avi);
return -1;
}
break;


Loading…
Cancel
Save