[Mplayer-cvslog] CVS: main/mp3lib decod386.c,1.16,1.17

Alex Beregszaszi syncmail at mplayerhq.hu
Mon Apr 26 12:08:18 CEST 2004


CVS change done by Alex Beregszaszi

Update of /cvsroot/mplayer/main/mp3lib
In directory mail:/var2/tmp/cvs-serv28528

Modified Files:
	decod386.c 
Log Message:
reorder funcs to avoid warnings/errors (gccs are nowadays are more pickier about code than gcc2.95 with -ansi)

Index: decod386.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/decod386.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- decod386.c	6 Apr 2004 01:24:34 -0000	1.16
+++ decod386.c	26 Apr 2004 10:08:16 -0000	1.17
@@ -113,40 +113,6 @@
   return ret;
 }
 
-
-#ifdef USE_FAKE_MONO
-static int synth_1to1_l(real *bandPtr,int channel,unsigned char *out,int *pnt)
-{
-  int i,ret;
-
-  ret = synth_1to1(bandPtr,channel,out,pnt);
-  out = out + *pnt - 128;
-
-  for(i=0;i<32;i++) {
-    ((short *)out)[1] = ((short *)out)[0];
-    out+=4;
-  }
-
-  return ret;
-}
-
-
-static int synth_1to1_r(real *bandPtr,int channel,unsigned char *out,int *pnt)
-{
-  int i,ret;
-
-  ret = synth_1to1(bandPtr,channel,out,pnt);
-  out = out + *pnt - 128;
-
-  for(i=0;i<32;i++) {
-    ((short *)out)[0] = ((short *)out)[1];
-    out+=4;
-  }
-
-  return ret;
-}
-#endif
-
 static synth_func_t synth_func;
 
 #if defined(CAN_COMPILE_X86_ASM)
@@ -277,3 +243,34 @@
 
 }
 
+#ifdef USE_FAKE_MONO
+static int synth_1to1_l(real *bandPtr,int channel,unsigned char *out,int *pnt)
+{
+  int i,ret;
+
+  ret = synth_1to1(bandPtr,channel,out,pnt);
+  out = out + *pnt - 128;
+
+  for(i=0;i<32;i++) {
+    ((short *)out)[1] = ((short *)out)[0];
+    out+=4;
+  }
+
+  return ret;
+}
+
+static int synth_1to1_r(real *bandPtr,int channel,unsigned char *out,int *pnt)
+{
+  int i,ret;
+
+  ret = synth_1to1(bandPtr,channel,out,pnt);
+  out = out + *pnt - 128;
+
+  for(i=0;i<32;i++) {
+    ((short *)out)[0] = ((short *)out)[1];
+    out+=4;
+  }
+
+  return ret;
+}
+#endif




More information about the MPlayer-cvslog mailing list