diff options
author | John Brooks <john.brooks@bluecherry.net> | 2011-10-13 08:34:20 +0000 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2011-10-14 13:28:58 +0200 |
commit | 2c4e08d89327595f7f4be57dda4b3775e1198d5e (patch) | |
tree | 8d5ea42065bb095e6cfd854ef3cdbae4b65cbe0b /tests/ref/acodec/g726 | |
parent | 582f231142c62a0bd6391efbd5a2ac119d73bb40 (diff) | |
download | ffmpeg-2c4e08d89327595f7f4be57dda4b3775e1198d5e.tar.gz |
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 <janne-libav@jannau.net>
Diffstat (limited to 'tests/ref/acodec/g726')
-rw-r--r-- | tests/ref/acodec/g726 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ref/acodec/g726 b/tests/ref/acodec/g726 index d2dbe5048c..9abed4b3bc 100644 --- a/tests/ref/acodec/g726 +++ b/tests/ref/acodec/g726 @@ -1,4 +1,4 @@ -fd090ddf05cc3401cc75c4a5ace1d05a *./tests/data/acodec/g726.wav -24052 ./tests/data/acodec/g726.wav -74abea06027375111eeac1b2f8c7d3af *./tests/data/g726.acodec.out.wav +64bfac75bd371304b704be5b3dbcd04a *./tests/data/acodec/g726.wav +24054 ./tests/data/acodec/g726.wav +79523adfec05760931fda877e1eaf7b4 *./tests/data/g726.acodec.out.wav stddev: 8554.55 PSNR: 17.69 MAXDIFF:29353 bytes: 95984/ 1058400 |