diff options
author | Colin McQuillan <m.niloc@googlemail.com> | 2009-08-03 17:15:01 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2009-08-03 17:15:01 +0000 |
commit | d5652f38fbfbf09fcd4bcb5370899fb7cff4fd49 (patch) | |
tree | e364106b559c2abf7552cc2178e3d23db61eeba6 /libavcodec/celp_filters.c | |
parent | f7e1353523ecad986171aaf65e06c0c8cf9d3a1e (diff) | |
download | ffmpeg-d5652f38fbfbf09fcd4bcb5370899fb7cff4fd49.tar.gz |
Correct the sign of the arithmetic in ff_celp_lp_zero_synthesis_filterf()
Patch by Colin McQuillan ( m.niloc googlemail com )
Originally committed as revision 19574 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/celp_filters.c')
-rw-r--r-- | libavcodec/celp_filters.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/celp_filters.c b/libavcodec/celp_filters.c index 6d235184dd..cd475533a5 100644 --- a/libavcodec/celp_filters.c +++ b/libavcodec/celp_filters.c @@ -110,6 +110,6 @@ void ff_celp_lp_zero_synthesis_filterf(float *out, 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]; } } |