X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Flls.c;h=f77043bc4a6f2fd6a7b2c3e340f2a3c128b87dba;hb=1cf4d2e9be17e4bf1d1831c746e175aca339fa07;hp=06fe4238ed36f4efd69910a107608802341a1ae4;hpb=3ff5ca89fc8783cabed56887f556bdd83279ffb0;p=ffmpeg diff --git a/libavutil/lls.c b/libavutil/lls.c index 06fe4238ed3..f77043bc4a6 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;