diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-06-23 20:44:58 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-06-23 20:44:58 +0000 |
commit | f1936f61c4315ac4495b58bb72df7a49f3babc1d (patch) | |
tree | 0b53e6fa320b8f896ed4fdc481f4d90a2a581dc4 | |
parent | b45411e24a7566a1191f9526a4adea0f76e9cb86 (diff) | |
download | ffmpeg-f1936f61c4315ac4495b58bb72df7a49f3babc1d.tar.gz |
Simplify
Originally committed as revision 13931 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/ra144.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index 5901e2198b..eee9c4d52d 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -135,7 +135,7 @@ static void add_wav(int n, int skip_first, int *m, const int16_t *s1, 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; } /** |