[SCM] libav/experimental: Fix an invalid free in the AVI muxer when an unsupported audio track is added. patch by Laurent Aimar, fenrir via.ecp fr

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:29:17 UTC 2013


The following commit has been merged in the experimental branch:
commit d1c2156bc6e3fd723ba8fff02815a3cc2f8769b7
Author: Laurent Aimar <fenrir at via.ecp.fr>
Date:   Tue Sep 2 22:53:42 2008 +0000

    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

diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 559e8ab..db59555 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list