summaryrefslogtreecommitdiff
path: root/libavutil/lls.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-28 15:44:38 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-28 19:32:07 +0200
commit579a0fdc211f9d700f67f80f91deef72e05a5d70 (patch)
treed78841e7edf70c2fbc3acc9183d93fb1fce553e2 /libavutil/lls.c
parentd22e88d120ebaff40d25a5872b75d69e2ced5a61 (diff)
downloadffmpeg-579a0fdc211f9d700f67f80f91deef72e05a5d70.tar.gz
avutil/lls: Make unchanged function arguments const
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/lls.c')
-rw-r--r--libavutil/lls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/lls.c b/libavutil/lls.c
index 06fe4238ed..f77043bc4a 100644
--- a/libavutil/lls.c
+++ b/libavutil/lls.c
@@ -32,7 +32,7 @@
#include "version.h"
#include "lls.h"
-static void update_lls(LLSModel *m, double *var)
+static void update_lls(LLSModel *m, const double *var)
{
int i, j;
@@ -100,7 +100,7 @@ void avpriv_solve_lls(LLSModel *m, double threshold, unsigned short min_order)
}
}
-static double evaluate_lls(LLSModel *m, double *param, int order)
+static double evaluate_lls(LLSModel *m, const double *param, int order)
{
int i;
double out = 0;