diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-01 23:09:48 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-01 23:16:25 +0200 |
commit | 78f08c06e6351e68363cad7158e6ab76246f1367 (patch) | |
tree | aed059cea1f5286bae38853cb658573dda85ee72 /libavcodec/celp_math.c | |
parent | edf1a8e361fb737ec3d4c637f82de10a59bd41e2 (diff) | |
download | ffmpeg-78f08c06e6351e68363cad7158e6ab76246f1367.tar.gz |
ff_dot_product(): change return value to int64_t
Idea-by: Vitor
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/celp_math.c')
-rw-r--r-- | libavcodec/celp_math.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/celp_math.c b/libavcodec/celp_math.c index a00bb3964e..d85277f209 100644 --- a/libavcodec/celp_math.c +++ b/libavcodec/celp_math.c @@ -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; |