[xiph-commits] r8921 - trunk/vorbis/lib

msmith at motherfish-iii.xiph.org msmith at motherfish-iii.xiph.org
Mon Feb 14 15:03:46 PST 2005


Author: msmith
Date: 2005-02-14 15:03:43 -0800 (Mon, 14 Feb 2005)
New Revision: 8921

Modified:
   trunk/vorbis/lib/envelope.c
Log:
Some preprocessor directives in this file didn't start with a # in column 1,
which some compilers (reported with apple gcc 3.3 on OS X) correctly reject.
Fixed by moving them into column 1.



Modified: trunk/vorbis/lib/envelope.c
===================================================================
--- trunk/vorbis/lib/envelope.c	2005-02-14 20:13:00 UTC (rev 8920)
+++ trunk/vorbis/lib/envelope.c	2005-02-14 23:03:43 UTC (rev 8921)
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: PCM data envelope analysis 
- last mod: $Id: envelope.c,v 1.54 2003/09/05 23:17:49 giles Exp $
+ last mod: $Id$
 
  ********************************************************************/
 
@@ -278,7 +278,7 @@
       if(ve->mark[j/ve->searchstep]){
 	if(j>centerW){
 
-	  #if 0
+#if 0
 	  if(j>ve->curmark){
 	    float *marker=alloca(v->pcm_current*sizeof(*marker));
 	    int l,m;
@@ -361,13 +361,13 @@
 
   memmove(e->mark,e->mark+smallshift,(smallsize-smallshift)*sizeof(*e->mark));
   
-  #if 0
+#if 0
   for(i=0;i<VE_BANDS*e->ch;i++)
     memmove(e->filter[i].markers,
 	    e->filter[i].markers+smallshift,
 	    (1024-smallshift)*sizeof(*(*e->filter).markers));
   totalshift+=shift;
-  #endif 
+#endif 
 
   e->current-=shift;
   if(e->curmark>=0)



More information about the commits mailing list