[xiph-cvs] cvs commit: vorbis/lib psy.c

Michael Smith msmith at xiph.org
Tue Jul 30 03:43:09 PDT 2002



msmith      02/07/30 03:43:09

  Modified:    lib      psy.c
  Log:
  Don't use fabsf(), go back to fabs()

Revision  Changes    Path
1.76      +3 -3      vorbis/lib/psy.c

Index: psy.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/psy.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- psy.c	2002/07/30 09:25:12	1.75
+++ psy.c	2002/07/30 10:43:07	1.76
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: psychoacoustics not including preecho
- last mod: $Id: psy.c,v 1.75 2002/07/30 09:25:12 msmith Exp $
+ last mod: $Id: psy.c,v 1.76 2002/07/30 10:43:07 msmith Exp $
 
  ********************************************************************/
 
@@ -950,8 +950,8 @@
 
 /* this is for per-channel noise normalization */
 static int apsort(const void *a, const void *b){
-  float f1=fabsf(**(float**)a);
-  float f2=fabsf(**(float**)b);
+  float f1=fabs(**(float**)a);
+  float f2=fabs(**(float**)b);
   if(f1>f2)return -1;
   else if(f1==f2)return 0;
   else return 1;

<p><p><p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list