[FFmpeg-cvslog] r15159 - trunk/libavformat/avienc.c

diego subversion
Wed Sep 3 00:53:42 CEST 2008


Author: diego
Date: Wed Sep  3 00:53:42 2008
New Revision: 15159

Log:
Fix an invalid free in the AVI muxer when an unsupported audio track is added.
patch by Laurent Aimar, fenrir via.ecp fr


Modified:
   trunk/libavformat/avienc.c

Modified: trunk/libavformat/avienc.c
==============================================================================
--- trunk/libavformat/avienc.c	(original)
+++ trunk/libavformat/avienc.c	Wed Sep  3 00:53:42 2008
@@ -249,7 +249,6 @@ static int avi_write_header(AVFormatCont
             break;
         case CODEC_TYPE_AUDIO:
             if (put_wav_header(pb, stream) < 0) {
-                av_free(avi);
                 return -1;
             }
             break;




More information about the ffmpeg-cvslog mailing list