forked from FFmpeg/FFmpeg
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
This commit is contained in:
parent
8212568a1c
commit
d1c2156bc6
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue