diff options
author | Laurent Aimar <fenrir@via.ecp.fr> | 2008-09-02 22:53:42 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-09-02 22:53:42 +0000 |
commit | d1c2156bc6e3fd723ba8fff02815a3cc2f8769b7 (patch) | |
tree | 4c170b67374cb6fa3e679fe48b6925d1e82625a6 /libavformat/avienc.c | |
parent | 8212568a1c0a7cc9b2a2d589dd483135c6e7e02a (diff) | |
download | ffmpeg-d1c2156bc6e3fd723ba8fff02815a3cc2f8769b7.tar.gz |
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
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index 559e8ab7cc..db59555e45 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; |