diff nellymoserdec.c @ 6612:80cadb0595fb libavcodec

simplify
author michael
date Wed, 16 Apr 2008 15:03:07 +0000
parents 79c5af90afde
children 54f88d1cee72
line wrap: on
line diff
--- a/nellymoserdec.c	Wed Apr 16 14:59:23 2008 +0000
+++ b/nellymoserdec.c	Wed Apr 16 15:03:07 2008 +0000
@@ -119,9 +119,8 @@
     bot = 0;
     top = NELLY_BUF_LEN-1;
 
-    while (bot < NELLY_BUF_LEN/2) {
+    while (bot < NELLY_BUF_LEN) {
         audio[bot] = ( a_in[bot]*sine_window[bot]+state[bot]*sine_window[top])/s->scale_bias + s->add_bias;
-        audio[top] = ( a_in[top]*sine_window[top]+state[top]*sine_window[bot])/s->scale_bias + s->add_bias;
 
         bot++;
         top--;