[flac-dev] [PATCH 2/4]

Erik de Castro Lopo mle+la at mega-nerd.com
Sat Sep 20 16:57:08 PDT 2014


lvqcl wrote:

> FLAC__fixed_compute_residual() has the following code:
> 
> #if 1 /* OPT: may be faster with some compilers on some systems */
> 	residual[i] = data[i] - (data[i-1] << 1) + data[i-2];
> #else
> 	residual[i] = data[i] - 2*data[i-1] + data[i-2];
> #endif
> 
> So I thought that adding a different algorithm to calculate err1
> variable won't hurt.

I accepted it because you have produced such an abundance of great
patches and because I thought this might be part of some on-going
plan of yours :-).

> ...I just noticed that I forgot to write something explanatory
> after "[PATCH 2/4]" in the subject of the original message.

No problem :-).

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list