OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8fd2f4
)
wav: remove an invalid free().
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sun, 3 Apr 2011 20:45:16 +0000
(22:45 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Mon, 13 Jun 2011 18:47:06 +0000
(20:47 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/wav.c
patch
|
blob
|
history
diff --git
a/libavformat/wav.c
b/libavformat/wav.c
index
21374e8
..
92c9bfc
100644
(file)
--- 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);