comparison 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
comparison
equal deleted inserted replaced
10012:fef7b43f0d22 10013:454cb6aa43a3
108 filter_length++; 108 filter_length++;
109 109
110 for (n = 0; n < buffer_length; n++) { 110 for (n = 0; n < buffer_length; n++) {
111 out[n] = in[n]; 111 out[n] = in[n];
112 for (i = 1; i < filter_length; i++) 112 for (i = 1; i < filter_length; i++)
113 out[n] -= filter_coeffs[i-1] * in[n-i]; 113 out[n] += filter_coeffs[i-1] * in[n-i];
114 } 114 }
115 } 115 }