]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dsputil.c
w32threads: Make pthread_cond_wait follow POSIX
[ffmpeg] / libavcodec / dsputil.c
index 29c59765964ec49d11b4e618aea5d0f68dd68035..f5b7d076d18a0e17eb8a1c5c886460a81deb7f8f 100644 (file)
@@ -2559,12 +2559,12 @@ static void vector_clipf_c(float *dst, const float *src, float min, float max, i
     }
 }
 
-static int32_t scalarproduct_int16_c(const int16_t * v1, const int16_t * v2, int order, int shift)
+static int32_t scalarproduct_int16_c(const int16_t * v1, const int16_t * v2, int order)
 {
     int res = 0;
 
     while (order--)
-        res += (*v1++ * *v2++) >> shift;
+        res += *v1++ * *v2++;
 
     return res;
 }