[MPlayer-dev-eng] [PATCH] Remove an unused function in mp3lib

Zuxy Meng zuxy.meng at gmail.com
Sun May 6 19:53:00 CEST 2007


Hi,

As $subj. This function doesn't get referenced in any way, not even in
#if 0 blocks.

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
Index: mp3lib/decod386.c
===================================================================
--- mp3lib/decod386.c	?????? 23238??
+++ mp3lib/decod386.c	????????????
@@ -85,27 +85,6 @@
 
 static int synth_1to1(real *bandPtr,int channel,unsigned char *out,int *pnt);
 
-static int synth_1to1_mono(real *bandPtr,unsigned char *samples,int *pnt)
-{
-  short samples_tmp[64];
-  short *tmp1 = samples_tmp;
-  int i,ret;
-  int pnt1 = 0;
-
-  ret = synth_1to1(bandPtr,0,(unsigned char *) samples_tmp,&pnt1);
-  samples += *pnt;
-
-  for(i=0;i<32;i++) {
-    *( (short *) samples) = *tmp1;
-    samples += 2;
-    tmp1 += 2;
-  }
-  *pnt += 64;
-
-  return ret;
-}
-
-
 static int synth_1to1_mono2stereo(real *bandPtr,unsigned char *samples,int *pnt)
 {
   int i,ret;


More information about the MPlayer-dev-eng mailing list