summaryrefslogtreecommitdiff
path: root/libavcodec/ra144.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-06-23 21:10:59 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-06-23 21:10:59 +0000
commit738ef8fd0856a4bd15243bda7e22045579f89fe8 (patch)
treeb311758eb829b6b167b59ff4d0a9bf8a01bfe3b2 /libavcodec/ra144.c
parent80e9f30c23edae0b036093390be2c44243e2f127 (diff)
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.c4
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));