-
Erik de Castro Lopo authored
The previous fix (patch 6f7ec60c) had the undesireable effect of slowing down encoding speed on 16 bit files where the arithmetic overflow was less likely to happen. This fix forces the use of a FLAC__uint64 accumulator for 24 bit files and restores the use of a FLAC_uint32 accumulator for 16 (and less) bit files. Unfortunately, I have not been able to prove to myself that this overflow *cannot* happen with 16 bit files.
f34f31da