summaryrefslogtreecommitdiff
path: root/libavcodec/ra144.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-06-19 20:43:34 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-06-19 20:43:34 +0000
commit509f8ea270bcf6db4aa7bba96bc5015edf4df477 (patch)
tree893041f64da237aacea215f3ca3fc7cac70249c9 /libavcodec/ra144.c
parentb845df113c94fc3cd0699f59600eb2c0aacd329c (diff)
Last table renaming
Originally committed as revision 13828 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r--libavcodec/ra144.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c
index 6448017967..3b855033aa 100644
--- a/libavcodec/ra144.c
+++ b/libavcodec/ra144.c
@@ -224,15 +224,15 @@ static void do_output_subblock(RA144Context *ractx,
m[0] = 0;
}
- m[1] = ((ftable1[cb1_idx] >> 4) * gval) >> 8;
- m[2] = ((ftable2[cb2_idx] >> 4) * gval) >> 8;
+ m[1] = ((cb1_base[cb1_idx] >> 4) * gval) >> 8;
+ m[2] = ((cb2_base[cb2_idx] >> 4) * gval) >> 8;
memmove(ractx->adapt_cb, ractx->adapt_cb + BLOCKSIZE,
(BUFFERSIZE - BLOCKSIZE) * 2);
block = ractx->adapt_cb + BUFFERSIZE - BLOCKSIZE;
- add_wav(gain, cba_idx, m, buffer_a, etable1[cb1_idx], etable2[cb2_idx],
+ add_wav(gain, cba_idx, m, buffer_a, cb1_vects[cb1_idx], cb2_vects[cb2_idx],
block);
lpc_filter(lpc_coefs, block, output_buffer, ractx->buffer, BLOCKSIZE);