git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b45411e
)
Simplify
author
Vitor Sessak
<vitor1001@gmail.com>
Mon, 23 Jun 2008 20:44:58 +0000
(20:44 +0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Mon, 23 Jun 2008 20:44:58 +0000
(20:44 +0000)
Originally committed as revision 13931 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ra144.c
patch
|
blob
|
history
diff --git
a/libavcodec/ra144.c
b/libavcodec/ra144.c
index
5901e21
..
eee9c4d
100644
(file)
--- 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;
}
/**