]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/celp_math.c
h264: rewrite has_b_frame calculation code,
[ffmpeg] / libavcodec / celp_math.c
index a00bb3964e07ba8e0197ffdbb8aa9decf0e72e0f..d85277f2097adc32e11e2b79ee2310ae09a7f9e3 100644 (file)
@@ -197,7 +197,7 @@ int ff_log2(uint32_t value)
     return (power_int << 15) + value;
 }
 
-int ff_dot_product(const int16_t *a, const int16_t *b, int length)
+int64_t ff_dot_product(const int16_t *a, const int16_t *b, int length)
 {
     int i;
     int64_t sum = 0;