diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-06-23 21:10:59 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-06-23 21:10:59 +0000 |
commit | 738ef8fd0856a4bd15243bda7e22045579f89fe8 (patch) | |
tree | b311758eb829b6b167b59ff4d0a9bf8a01bfe3b2 /libavcodec/ra144.c | |
parent | 80e9f30c23edae0b036093390be2c44243e2f127 (diff) | |
download | ffmpeg-738ef8fd0856a4bd15243bda7e22045579f89fe8.tar.gz |
Merge the >> 4 calculation of cb1_base in the table
Originally committed as revision 13935 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 abf71e701c..3f37c6b16e 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -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)); |