FFmpegSource2: fix w64 headers

Originally committed to SVN as r2381.
This commit is contained in:
Fredrik Mellbin 2008-09-23 20:54:22 +00:00
parent 4a94fa334d
commit 328cb5806e
1 changed files with 1 additions and 2 deletions

View File

@ -89,8 +89,7 @@ void Wave64Writer::WriteHeader(bool Initial, bool IsFloat) {
memcpy(Header + 3, GuidWAVE, 16);
memcpy(Header + 5, Guidfmt, 16);
// sizeof(WFEX) = 18
Header[7] = sizeof(WFEX) + 24;
Header[7] = 48;
memcpy(Header + 8, &WFEX, sizeof(WFEX));
memcpy(Header + 11, Guiddata, 16);