diff --git a/libavcodec/ra144.c b/libavcodec/ra144.c index 5661bdc6f6..1f3c614702 100644 --- a/libavcodec/ra144.c +++ b/libavcodec/ra144.c @@ -139,11 +139,11 @@ static void add_wav(int16_t *dest, int n, int skip_first, int *m, v[i] = (gain_val_tab[n][i] * m[i]) >> gain_exp_tab[n]; if (v[0]) { - for (i=0; i < BLOCKSIZE; i++) - dest[i] = (s1[i]*v[0] + s2[i]*v[1] + s3[i]*v[2]) >> 12; + for (i=0; i < BLOCKSIZE; i++) + dest[i] = (s1[i]*v[0] + s2[i]*v[1] + s3[i]*v[2]) >> 12; } else { for (i=0; i < BLOCKSIZE; i++) - dest[i] = (s2[i]*v[1] + s3[i]*v[2]) >> 12; + dest[i] = ( s2[i]*v[1] + s3[i]*v[2]) >> 12; } }