[flac-dev] exhaustive-model-search issue results in multi-gigabyte FLAC file

Erik de Castro Lopo mle+la at mega-nerd.com
Wed Jul 17 02:45:53 PDT 2013

Martijn van Beurden wrote:

> You've exposed at least two very serious FLAC bugs, 
> namely a malfunctioning RICE2-partition encoder and a bug concerning 
> choosing verbatim frames over fixed/lpc frames.

The second, not choosing verbatim frames over fixed/lpc frames is almost
certainly a direct result of the first problem.

The fix was changing one local variable from FLAC_uint32 to FLAC_uint64
in function precompute_partition_info_sums_().


Erik de Castro Lopo

More information about the flac-dev mailing list