mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-16 04:15:05 +00:00
Remove superfluous free().
This commit is contained in:
parent
7f125c3e87
commit
c9d6da73a8
@ -52,7 +52,6 @@ static int wav_write_header(AVFormatContext *s)
|
|||||||
if (ff_put_wav_header(pb, s->streams[0]->codec) < 0) {
|
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",
|
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");
|
s->streams[0]->codec->codec ? s->streams[0]->codec->codec->name : "NONE");
|
||||||
av_free(wav);
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
ff_end_tag(pb, fmt);
|
ff_end_tag(pb, fmt);
|
||||||
|
Loading…
Reference in New Issue
Block a user