X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Faudiodsp.c;h=efcb0a8e8a1932eebf8cd91560e825818e941b90;hb=a240097ecd4fb1639db99e7becb888ae478405cd;hp=3c7a3a7583a4a3fc1feed0eaba6c35612596d193;hpb=ef71ef5f30ddf1cd61e46628a04608892caf76d2;p=ffmpeg diff --git a/libavcodec/audiodsp.c b/libavcodec/audiodsp.c index 3c7a3a7583a..efcb0a8e8a1 100644 --- a/libavcodec/audiodsp.c +++ b/libavcodec/audiodsp.c @@ -79,7 +79,7 @@ static void vector_clipf_c(float *dst, const float *src, int len, static int32_t scalarproduct_int16_c(const int16_t *v1, const int16_t *v2, int order) { - int res = 0; + unsigned res = 0; while (order--) res += *v1++ **v2++;