diff options
author | Kenan Gillet <kenan.gillet@gmail.com> | 2009-02-24 01:19:16 +0300 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2009-02-24 01:19:16 +0300 |
commit | cacb82134e486284438ff23395faa746f461e657 (patch) | |
tree | e76bf857e4dc09c997eb000dca601a061a835743 /libavcodec/celp_filters.c | |
parent | 40284e9c8b5bad2947d3121b7763cda67eb6aab1 (diff) |
Change sign in ff_celp_lp_synthesis_filterf(). This makes this function
useful for AMR and RA144.
Patch by Kenan Gillet
Originally committed as revision 17546 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 3d983c4f75..a48368f242 100644 --- a/libavcodec/celp_filters.c +++ b/libavcodec/celp_filters.c @@ -102,6 +102,6 @@ void ff_celp_lp_synthesis_filterf( { out[n] = in[n]; for(i=1; i<filter_length; i++) - out[n] += filter_coeffs[i] * out[n-i]; + out[n] -= filter_coeffs[i] * out[n-i]; } } |