diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2023-12-21 10:45:58 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2023-12-28 11:11:33 +0530 |
commit | c1340f3439ef4eba34e8e51e1f7c0bf789e3256a (patch) | |
tree | cf460e40b1269d4e2ec01ee5a61ba78b5b139f50 /doc/libswscale.texi | |
parent | 56ca0f29181a9c61240286d0ab8da0cc1961ba25 (diff) | |
download | ffmpeg-c1340f3439ef4eba34e8e51e1f7c0bf789e3256a.tar.gz |
avformat/riffenc: don't force WAVEFORMATEXTENSIBLE for flt/dbl LPCM
2c2a167ca7 forced WAVEFORMATEXTENSIBLE for all LPCM streams with greater
than 16 bits per sample. However, WAVEFORMATEX allows IEEE Float samples
or any depth where raw depth == coded depth, see Remarks section at
https://learn.microsoft.com/en-us/windows/win32/api/mmreg/ns-mmreg-waveformatex
and samples M1F1-float32-AFsp, M1F1-float64-AFsp at
https://www.mmsp.ece.mcgill.ca/Documents/AudioFormats/WAVE/Samples.html
There are hardware devices and likely software players requiring float samples
that fail to qualify files with WAVEFORMATEXTENSIBLE headers.
Diffstat (limited to 'doc/libswscale.texi')
0 files changed, 0 insertions, 0 deletions