diff --git a/libavcodec/celp_filters.c b/libavcodec/celp_filters.c index a48368f2421665c31403fd4d9aae1057423bf2b3..ef1a578f44272579da9c094dcc692ba9f5b4f97d 100644 --- a/libavcodec/celp_filters.c +++ b/libavcodec/celp_filters.c @@ -61,15 +61,14 @@ int ff_celp_lp_synthesis_filter( { int i,n; - // These two lines are to avoid a -1 subtraction in the main loop + // This line is to avoid a +1 subtraction in the main loop. filter_length++; - filter_coeffs--; for(n=0; n> 12) + in[n]; @@ -94,14 +93,13 @@ void ff_celp_lp_synthesis_filterf( { int i,n; - // These two lines are to avoid a -1 subtraction in the main loop + // This line is to avoid a +1 subtraction in the main loop filter_length++; - filter_coeffs--; for(n=0; n