On 23/11/15 23:10, Vittorio Giovara wrote:
> int ff_g723_1_dot_product(const int16_t *a, const int16_t *b, int length)
> {
> -int i, sum = 0;
> -
> -for (i = 0; i < length; i++) {
> -int prod = a[i] * b[i];
> -sum = av_sat_dadd32(sum, prod);
> -}
> -return sum;
> +
From: Mohamed Naufal
Additional improvements by Michael Niedermayer .
Signed-off-by: Vittorio Giovara
---
doc/general.texi |2 +-
libavcodec/Makefile|2 +
libavcodec/allcodecs.c |2 +-
libavcodec/celp_math.c | 13 +
libavcodec/celp_math.h | 10 +
libavcodec/g723_1.c