Merge the >> 4 calculation of cb1_base in the table

Originally committed as revision 13935 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak
2008-06-23 21:10:59 +00:00
parent 80e9f30c23
commit 738ef8fd08
2 changed files with 34 additions and 34 deletions
+2 -2
View File
@@ -220,8 +220,8 @@ static void do_output_subblock(RA144Context *ractx,
m[0] = 0;
}
m[1] = ((cb1_base[cb1_idx] >> 4) * gval) >> 8;
m[2] = ((cb2_base[cb2_idx] >> 4) * gval) >> 8;
m[1] = (cb1_base[cb1_idx] * gval) >> 8;
m[2] = (cb2_base[cb2_idx] * gval) >> 8;
memmove(ractx->adapt_cb, ractx->adapt_cb + BLOCKSIZE,
(BUFFERSIZE - BLOCKSIZE) * sizeof(*ractx->adapt_cb));