提交 67e9bb0d 编写于 作者: F Fabrice Bellard

fixed wav riff tag size


Originally committed as revision 95 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 27e084bd
......@@ -72,7 +72,7 @@ static int wav_write_trailer(AVFormatContext *s)
/* update file size */
file_size = url_ftell(pb);
url_fseek(pb, 4, SEEK_SET);
put_le32(pb, (UINT32)file_size);
put_le32(pb, (UINT32)(file_size - 8));
url_fseek(pb, file_size, SEEK_SET);
put_flush_packet(pb);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册