• 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
..
acodec-adpcm-ima_qt Loading commit data...
acodec-adpcm-ima_wav Loading commit data...
acodec-adpcm-ms Loading commit data...
acodec-adpcm-swf Loading commit data...
acodec-adpcm-yamaha Loading commit data...
acodec-alac Loading commit data...
acodec-flac Loading commit data...
acodec-mp2 Loading commit data...
acodec-pcm-alaw Loading commit data...
acodec-pcm-f32be Loading commit data...
acodec-pcm-f32le Loading commit data...
acodec-pcm-f64be Loading commit data...
acodec-pcm-f64le Loading commit data...
acodec-pcm-mulaw Loading commit data...
acodec-pcm-s16be Loading commit data...
acodec-pcm-s16le Loading commit data...
acodec-pcm-s24be Loading commit data...
acodec-pcm-s24le Loading commit data...
acodec-pcm-s32be Loading commit data...
acodec-pcm-s32le Loading commit data...
acodec-pcm-s8 Loading commit data...
acodec-pcm-u8 Loading commit data...
lavf-aiff Loading commit data...
lavf-alaw Loading commit data...
lavf-asf Loading commit data...
lavf-au Loading commit data...
lavf-avi Loading commit data...
lavf-bmp Loading commit data...
lavf-dv_fmt Loading commit data...
lavf-ffm Loading commit data...
lavf-flv_fmt Loading commit data...
lavf-gif Loading commit data...
lavf-gxf Loading commit data...
lavf-jpg Loading commit data...
lavf-mkv Loading commit data...
lavf-mmf Loading commit data...
lavf-mov Loading commit data...
lavf-mpg Loading commit data...
lavf-mulaw Loading commit data...
lavf-mxf Loading commit data...
lavf-mxf_d10 Loading commit data...
lavf-nut Loading commit data...
lavf-ogg Loading commit data...
lavf-pbmpipe Loading commit data...
lavf-pcx Loading commit data...
lavf-pgm Loading commit data...
lavf-pgmpipe Loading commit data...
lavf-ppm Loading commit data...
lavf-ppmpipe Loading commit data...
lavf-rm Loading commit data...
lavf-sgi Loading commit data...
lavf-swf Loading commit data...
lavf-tga Loading commit data...
lavf-tiff Loading commit data...
lavf-ts Loading commit data...
lavf-voc Loading commit data...
lavf-wav Loading commit data...
lavf-wtv Loading commit data...
lavf-yuv4mpeg Loading commit data...
vsynth2-asv1 Loading commit data...
vsynth2-asv2 Loading commit data...
vsynth2-dnxhd-1080i Loading commit data...
vsynth2-dnxhd-720p Loading commit data...
vsynth2-dnxhd-720p-rd Loading commit data...
vsynth2-dv Loading commit data...
vsynth2-dv-411 Loading commit data...
vsynth2-dv-50 Loading commit data...
vsynth2-ffv1 Loading commit data...
vsynth2-flashsv Loading commit data...
vsynth2-flv Loading commit data...
vsynth2-h261 Loading commit data...
vsynth2-h263 Loading commit data...
vsynth2-h263p Loading commit data...
vsynth2-huffyuv Loading commit data...
vsynth2-jpegls Loading commit data...
vsynth2-ljpeg Loading commit data...
vsynth2-mjpeg Loading commit data...
vsynth2-mpeg1 Loading commit data...
vsynth2-mpeg1b Loading commit data...
vsynth2-mpeg2-422 Loading commit data...
vsynth2-mpeg2-idct-int Loading commit data...
vsynth2-mpeg2-ilace Loading commit data...
vsynth2-mpeg2-ivlc-qprd Loading commit data...
vsynth2-mpeg2-thread Loading commit data...
vsynth2-mpeg2-thread-ivlc Loading commit data...
vsynth2-mpeg4 Loading commit data...
vsynth2-mpeg4-adap Loading commit data...
vsynth2-mpeg4-adv Loading commit data...
vsynth2-mpeg4-error Loading commit data...
vsynth2-mpeg4-nr Loading commit data...
vsynth2-mpeg4-qpel Loading commit data...
vsynth2-mpeg4-qprd Loading commit data...
vsynth2-mpeg4-rc Loading commit data...
vsynth2-mpeg4-thread Loading commit data...
vsynth2-msmpeg4 Loading commit data...
vsynth2-msmpeg4v2 Loading commit data...
vsynth2-rgb Loading commit data...
vsynth2-roqvideo Loading commit data...
vsynth2-rv10 Loading commit data...
vsynth2-rv20 Loading commit data...
vsynth2-snow Loading commit data...
vsynth2-snow-ll Loading commit data...
vsynth2-svq1 Loading commit data...
vsynth2-wmv1 Loading commit data...
vsynth2-wmv2 Loading commit data...
vsynth2-yuv Loading commit data...