[FFmpeg-cvslog] r13508 - trunk/libavcodec/ra144.c

vitor subversion
Wed May 28 23:17:32 CEST 2008


Author: vitor
Date: Wed May 28 23:17:32 2008
New Revision: 13508

Log:
More intermediate vars removal

Modified:
   trunk/libavcodec/ra144.c

Modified: trunk/libavcodec/ra144.c
==============================================================================
--- trunk/libavcodec/ra144.c	(original)
+++ trunk/libavcodec/ra144.c	Wed May 28 23:17:32 2008
@@ -289,13 +289,11 @@ static int dec2(RA144Context *ractx, int
                 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




More information about the ffmpeg-cvslog mailing list