Mercurial > libavcodec.hg
changeset 7117:f5ca0e18d5de libavcodec
Simplify
author | vitor |
---|---|
date | Mon, 23 Jun 2008 20:44:58 +0000 |
parents | e51975f18cb6 |
children | 83f0d3a52f14 |
files | ra144.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ra144.c Mon Jun 23 20:42:36 2008 +0000 +++ b/ra144.c Mon Jun 23 20:44:58 2008 +0000 @@ -135,7 +135,7 @@ v[i] = (gain_val_tab[n][i] * m[i]) >> (gain_exp_tab[n][i] + 1); for (i=0; i < BLOCKSIZE; i++) - dest[i] = ((*(s1++))*v[0] + (*(s2++))*v[1] + (*(s3++))*v[2]) >> 12; + dest[i] = (s1[i]*v[0] + s2[i]*v[1] + s3[i]*v[2]) >> 12; } /**