From 2c4e08d89327595f7f4be57dda4b3775e1198d5e Mon Sep 17 00:00:00 2001 From: John Brooks Date: Thu, 13 Oct 2011 08:34:20 +0000 Subject: riff: always generate a proper WAVEFORMATEX structure in ff_put_wav_header The cbSize field should be included in all cases, even with PCM where its value is ignored. Fixes encoding PCM audio in Matroska for some players which insist on a full WAVEFORMATEX structure for A_MS/ACM audio. Since fate uses wav files for the audio test a larger number of tests has changed checksums or shifted positions due to the 2 byte longer wave header. Signed-off-by: Janne Grunau --- tests/ref/lavf/wav | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ref/lavf') diff --git a/tests/ref/lavf/wav b/tests/ref/lavf/wav index aa6f943724..bbbacc3b7e 100644 --- a/tests/ref/lavf/wav +++ b/tests/ref/lavf/wav @@ -1,3 +1,3 @@ -6a3bec31d92baf52161e25179ebba315 *./tests/data/lavf/lavf.wav -90156 ./tests/data/lavf/lavf.wav +8854ea97f2d2172383941b001c69228b *./tests/data/lavf/lavf.wav +90158 ./tests/data/lavf/lavf.wav ./tests/data/lavf/lavf.wav CRC=0xf1ae5536 -- cgit v1.2.3