Commit 50a7bf57 authored by vitor's avatar vitor

Simplify

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13931 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5cef4af8
...@@ -135,7 +135,7 @@ static void add_wav(int n, int skip_first, int *m, const int16_t *s1, ...@@ -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); v[i] = (gain_val_tab[n][i] * m[i]) >> (gain_exp_tab[n][i] + 1);
for (i=0; i < BLOCKSIZE; i++) 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;
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment