changeset 6927:3723a137a3dd libavcodec

More intermediate vars removal
author vitor
date Wed, 28 May 2008 21:17:32 +0000
parents 125e3d10e0e7
children d3974b9cde43
files ra144.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ra144.c	Wed May 28 21:04:42 2008 +0000
+++ b/ra144.c	Wed May 28 21:17:32 2008 +0000
@@ -289,13 +289,11 @@
                 int copynew, int f)
 {
     int work[10];
-    int a = block_num + 1;
-    int b = NBLOCKS - a;
 
     // Interpolate block coefficients from the this frame forth block and
     // last frame forth block
     ff_acelp_weighted_vector_sum(decsp, ractx->lpc_coef, ractx->lpc_coef_old,
-                                 a, b, 0, 2, 30);
+                                 block_num + 1, 3 - block_num, 0, 2, 30);
 
     if (eq(decsp, work)) {
         // The interpolated coefficients are unstable, copy either new or old