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;
> + int sum = ff_dot_product(a,b,length);
Spaces above.
The rest seems fine after a second read, ok if asan is happy.
lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel