aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/celp_math.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-08-26 11:29:39 +0200
committerDiego Biurrun <diego@biurrun.de>2012-08-27 20:37:49 +0200
commitdafcbfe44361b0d3caa22b15bc95e38ba80af7e6 (patch)
treebe178be68a80c2ee0a2251b52f4238b476994156 /libavcodec/celp_math.c
parent55498543354335697bf1c5616a2ba94c64fbdcf1 (diff)
downloadffmpeg-dafcbfe44361b0d3caa22b15bc95e38ba80af7e6.tar.gz
celp_math: Replace duplicate ff_dot_productf() by ff_scalarproduct_c()
Diffstat (limited to 'libavcodec/celp_math.c')
-rw-r--r--libavcodec/celp_math.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/libavcodec/celp_math.c b/libavcodec/celp_math.c
index b28c51b52d..c3d12e982e 100644
--- a/libavcodec/celp_math.c
+++ b/libavcodec/celp_math.c
@@ -86,14 +86,3 @@ int ff_log2(uint32_t value)
return (power_int << 15) + value;
}
-
-float ff_dot_productf(const float* a, const float* b, int length)
-{
- float sum = 0;
- int i;
-
- for(i=0; i<length; i++)
- sum += a[i] * b[i];
-
- return sum;
-}