From: Carl Eugen Hoyos Date: Sun, 3 Apr 2011 20:45:16 +0000 (+0200) Subject: wav: remove an invalid free(). X-Git-Tag: v0.7rc1~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d0786ec6d066f892f29da6593e99e73a7dfd014;p=platform%2Fupstream%2Flibav.git wav: remove an invalid free(). Signed-off-by: Anton Khirnov --- diff --git a/libavformat/wav.c b/libavformat/wav.c index 21374e8..92c9bfc 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -52,7 +52,6 @@ static int wav_write_header(AVFormatContext *s) if (ff_put_wav_header(pb, s->streams[0]->codec) < 0) { av_log(s, AV_LOG_ERROR, "%s codec not supported in WAVE format\n", s->streams[0]->codec->codec ? s->streams[0]->codec->codec->name : "NONE"); - av_free(wav); return -1; } ff_end_tag(pb, fmt);