diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-05-21 16:38:44 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-05-21 16:38:44 +0000 |
commit | 65189c6cac3c9152e8059a38cf878c6cc3ac7126 (patch) | |
tree | b99422b62ff2ce6923af385e020a75a561e2bf59 /libavcodec/ra144.c | |
parent | 59ffb6e2cc0974f3090a10facdedf8da5f6bf742 (diff) |
Make etable1 and etable2 tables instead of arrays.
Originally committed as revision 13212 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra144.c')
-rw-r--r-- | libavcodec/ra144.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index 6d0da4db1d..f52396e2ca 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -256,8 +256,8 @@ static void do_output_subblock(Real144_internal *glob, const unsigned short *gs memmove(glob->buffer_2, glob->buffer_2 + BLOCKSIZE, (BUFFERSIZE - BLOCKSIZE) * 2); block = glob->buffer_2 + BUFFERSIZE - BLOCKSIZE; - add_wav(d, a, g, e, f, buffer_a, etable1 + b*BLOCKSIZE, - etable2 + c*BLOCKSIZE, block); + add_wav(d, a, g, e, f, buffer_a, etable1[b], + etable2[c], block); final(gsp, block, output_buffer, glob->buffer, BLOCKSIZE); } |