• Daniel Verkamp's avatar
    ff_put_wav_header: add flag to force WAVEFORMATEX · 5e7d21c7
    Daniel Verkamp authored
    Partially undoes commit 2c4e08d8:
    
        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: 's avatarMichael Niedermayer <michaelni@gmx.at>
    5e7d21c7
Name
Last commit
Last update
..
adpcm-adx Loading commit data...
adpcm-ima_qt Loading commit data...
adpcm-ima_wav Loading commit data...
adpcm-ms Loading commit data...
adpcm-swf Loading commit data...
adpcm-yamaha Loading commit data...
adpcm_ima_qt Loading commit data...
alac Loading commit data...
flac Loading commit data...
g723_1 Loading commit data...
mp2 Loading commit data...
mp2fixed Loading commit data...
pcm-alaw Loading commit data...
pcm-f32be Loading commit data...
pcm-f32le Loading commit data...
pcm-f64be Loading commit data...
pcm-f64le Loading commit data...
pcm-mulaw Loading commit data...
pcm-s16be Loading commit data...
pcm-s16be_planar Loading commit data...
pcm-s16le Loading commit data...
pcm-s16le_planar Loading commit data...
pcm-s24be Loading commit data...
pcm-s24le Loading commit data...
pcm-s24le_planar Loading commit data...
pcm-s32be Loading commit data...
pcm-s32le Loading commit data...
pcm-s32le_planar Loading commit data...
pcm-s8 Loading commit data...
pcm-s8_planar Loading commit data...
pcm-u16be Loading commit data...
pcm-u16le Loading commit data...
pcm-u24be Loading commit data...
pcm-u24le Loading commit data...
pcm-u32be Loading commit data...
pcm-u32le Loading commit data...
pcm-u8 Loading commit data...
roqaudio Loading commit data...