[xiph-commits] r13387 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Sat Jul 28 15:55:12 PDT 2007


Author: jm
Date: 2007-07-28 15:55:12 -0700 (Sat, 28 Jul 2007)
New Revision: 13387

Modified:
   trunk/speex/libspeex/testenc_wb.c
Log:
Patch by Alexander Chemeris removing useless code


Modified: trunk/speex/libspeex/testenc_wb.c
===================================================================
--- trunk/speex/libspeex/testenc_wb.c	2007-07-28 22:55:06 UTC (rev 13386)
+++ trunk/speex/libspeex/testenc_wb.c	2007-07-28 22:55:12 UTC (rev 13387)
@@ -19,7 +19,6 @@
    FILE *fin, *fout, *fbits=NULL;
    short in_short[FRAME_SIZE];
    short out_short[FRAME_SIZE];
-   float in_float[FRAME_SIZE];
    float sigpow,errpow,snr, seg_snr=0;
    int snr_frames = 0;
    char cbits[200];
@@ -88,8 +87,6 @@
       fread(in_short, sizeof(short), FRAME_SIZE, fin);
       if (feof(fin))
          break;
-      for (i=0;i<FRAME_SIZE;i++)
-         in_float[i]=in_short[i];
       speex_bits_reset(&bits);
 
       speex_encode_int(st, in_short, &bits);



More information about the commits mailing list