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
_______________________________________________
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to