From 2de74f5a4d67ad01bd1547c94d925dee2bf4dc0c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 3 Jul 2008 11:51:59 +0000 Subject: [PATCH] More correct comment. Originally committed as revision 14057 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/acelp_math.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/acelp_math.h b/libavcodec/acelp_math.h index 6e1344b5bd..9cfa755ecb 100644 --- a/libavcodec/acelp_math.h +++ b/libavcodec/acelp_math.h @@ -55,9 +55,9 @@ int ff_log2(uint32_t value); * \param a input data array * \param b input data array * \param length number of elements - * \param shift right shift by this value will be done before multiplication + * \param shift right shift by this value will be done after multiplication * - * \return sum of multiplications + * \return dot product = sum of elementwise products */ static int dot_product(const int16_t* a, const int16_t* b, int length, int shift) {