ffmpeg/tests/ref/acodec
Daniel Verkamp 5e7d21c7ad ff_put_wav_header: add flag to force WAVEFORMATEX
Partially undoes commit 2c4e08d893:

    riff: always generate a proper WAVEFORMATEX structure in
    ff_put_wav_header

A new flag, FF_PUT_WAV_HEADER_FORCE_WAVEFORMATEX, is added to force the
use of WAVEFORMATEX rather than PCMWAVEFORMAT even for PCM codecs.

This flag is used in the Matroska muxer (the cause of the original
change) and in the ASF muxer, because the specifications for
these formats indicate explicitly that WAVEFORMATEX should be used.

Muxers for other formats will return to the original behavior of writing
PCMWAVEFORMAT when writing a header for raw PCM.

In particular, this causes raw PCM in WAV to generate the canonical
44-byte header expected by some tools.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-30 16:41:35 +02:00
..
adpcm_ima_qt Merge commit 'e816034a5fa131b13c4ad87bb0b5065b4f5697c6' 2012-12-03 02:33:27 +01:00
adpcm-adx ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
adpcm-ima_qt ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
adpcm-ima_wav ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
adpcm-ms ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
adpcm-swf ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
adpcm-yamaha ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
alac ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
flac ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
g723_1 ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
mp2 ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
mp2fixed ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-alaw ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-f32be ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-f32le ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-f64be ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-f64le ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-mulaw ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-s8 ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-s8_planar ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-s16be ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-s16be_planar ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-s16le ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-s16le_planar ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-s24be ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-s24le ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-s24le_planar ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-s32be ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-s32le ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-s32le_planar ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-u8 ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-u16be ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-u16le ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-u24be ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-u24le ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-u32be ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
pcm-u32le ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00
roqaudio ff_put_wav_header: add flag to force WAVEFORMATEX 2014-04-30 16:41:35 +02:00