[FFmpeg-devel] [PATCH] riff: don't overwrite bps from WAVEFORMATEX if EXTENSIBLE doesn't contain that data.

Hendrik Leppkes h.leppkes at gmail.com
Thu Jun 21 09:57:27 CEST 2012


attached patch fixes playback of 24-bit wav files.
The WAVEFORMATEX structure already defines a bit per sample attribute, and
according to Microsofts documentation, the WAVEFORMATEXTENSIBLE extra
information is not required to duplicate that information, and should just
be ignored if 0.


- Hendrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: riff-dont-overwrite-bpp-from-WAVEFORMATEX.patch
Type: application/octet-stream
Size: 1315 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120621/53be8ae4/attachment.obj>

More information about the ffmpeg-devel mailing list