diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-07-03 19:23:42 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-07-03 19:23:42 +0000 |
commit | 780433976d699694ae6cb88dad87af16c73d3a06 (patch) | |
tree | 39d8620662b06952e7bfdbf8663031dcca0686e0 /libavcodec/ra288.c | |
parent | a429946ba958808608e3ad71fec5f8c86072c015 (diff) | |
download | ffmpeg-780433976d699694ae6cb88dad87af16c73d3a06.tar.gz |
Use a matrix instead of a vector
Originally committed as revision 14062 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ra288.c')
-rw-r--r-- | libavcodec/ra288.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index 6c0d7815c8..358fc12721 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -58,7 +58,7 @@ static void decode(Real288_internal *glob, int amp_coef, int cb_coef) } f = amptable[amp_coef]; - table = codetable + cb_coef * 5; + table = codetable[cb_coef]; /* convert log and do rms */ for (sum=32, x=10; x--; sum -= glob->pr2[x] * glob->lhist[x]); |