diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-05-28 21:17:32 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-05-28 21:17:32 +0000 |
commit | 5e8782dddf957a5c4f2b79e1a793287cad454660 (patch) | |
tree | 4d40352c9c2575a7df7db3c93ccf963f2ae37085 /libavcodec/ra144.c | |
parent | e88b67de6ce3b9ea2f25a258c35fbde32fb6e502 (diff) | |
download | ffmpeg-5e8782dddf957a5c4f2b79e1a793287cad454660.tar.gz |
More intermediate vars removal
Originally committed as revision 13508 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r-- | libavcodec/ra144.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index e09d38f231..7ff1b13bce 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -289,13 +289,11 @@ static int dec2(RA144Context *ractx, int16_t *decsp, int block_num, 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 |