From 0cb3ad58b3033ec1b78cc74943775e27ae7faeca Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Mon, 11 May 2009 23:35:50 +0000 Subject: -Took cook_random() from an old cook.c revision [6 mar 2007], which is a simple RNG, to eliminate the need for lfg.c/h. -Remove lfg.c/h and md5.c/h as they are no longer needed and use the more common form of my name in docs/COMMITTERS. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20915 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libcook/cook_fixpoint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/libcook/cook_fixpoint.h') diff --git a/apps/codecs/libcook/cook_fixpoint.h b/apps/codecs/libcook/cook_fixpoint.h index b8182bfcd0..83c054c527 100644 --- a/apps/codecs/libcook/cook_fixpoint.h +++ b/apps/codecs/libcook/cook_fixpoint.h @@ -110,7 +110,7 @@ static void scalar_dequant_math(COOKContext *q, int index, for(i=0 ; irandom_state) < 0x80000000) || + if (((subband_coef_index[i] == 0) && cook_random(q)) || ((subband_coef_index[i] != 0) && subband_coef_sign[i])) f = -f; -- cgit v1.2.3