[flac-dev] Wrong warning in encoder for 24bits WAV
Olivier Tristan
o.tristan at uvi.net
Thu Mar 20 03:49:56 PDT 2014
Hi Guys,
I've just faced a wrong warning trying to encode a 24 bits WAV file
if(wFormatTag == 1) {
if(bps != 8 && bps != 16) {
if(bps == 24 || bps == 32) {
/* let these slide with a warning since they're
unambiguous */
flac__utils_printf(stderr, 1, "%s: WARNING:
legacy WAVE file has format type %u but bits-per-sample=%u\n",
e->inbasefilename, (unsigned)wFormatTag, bps);
AFAIK only 32bits file require a format of 3 while it's fine for 8, 16
and 24bits
Thanks !
--
Olivier TRISTAN
uvi.net
More information about the flac-dev
mailing list