提交 d1c2156b 编写于 作者: L Laurent Aimar 提交者: Diego Biurrun

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
上级 8212568a
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册