Mercurial > libavcodec.hg
diff celp_filters.c @ 10013:454cb6aa43a3 libavcodec
Correct the sign of the arithmetic in ff_celp_lp_zero_synthesis_filterf()
Patch by Colin McQuillan ( m.niloc googlemail com )
author | superdump |
---|---|
date | Mon, 03 Aug 2009 17:15:01 +0000 |
parents | 24952f1a8979 |
children | d35904b4fe3f |
line wrap: on
line diff
--- a/celp_filters.c Mon Aug 03 15:23:53 2009 +0000 +++ b/celp_filters.c Mon Aug 03 17:15:01 2009 +0000 @@ -110,6 +110,6 @@ for (n = 0; n < buffer_length; n++) { out[n] = in[n]; for (i = 1; i < filter_length; i++) - out[n] -= filter_coeffs[i-1] * in[n-i]; + out[n] += filter_coeffs[i-1] * in[n-i]; } }