Fix warning in test suite, introduced in a87e6b
Recently a warning was added to libFLAC when RIFF header doesn't match the filesize. It turns out that warning is trigger by a very old (harmless) bug in the test suite file generator
This commit is contained in:
parent
aaffdcaa96
commit
3f1f82c8fa
@ -992,7 +992,7 @@ static FLAC__bool write_simple_wavex_header (FILE * f, unsigned samplerate, unsi
|
||||
|
||||
if (fwrite("RIFF", 1, 4, f) != 4)
|
||||
return false;
|
||||
if (!write_little_endian_uint32(f, 40 + 4 + 4 + datalen))
|
||||
if (!write_little_endian_uint32(f, 60 + datalen))
|
||||
return false;
|
||||
|
||||
if (fwrite("WAVEfmt ", 8, 1, f) != 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user