summaryrefslogtreecommitdiff
path: root/libavutil/lls.h
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.h
parentd22e88d120ebaff40d25a5872b75d69e2ced5a61 (diff)
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.h')
-rw-r--r--libavutil/lls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/lls.h b/libavutil/lls.h
index 46f96060d0..5635b5b2fd 100644
--- a/libavutil/lls.h
+++ b/libavutil/lls.h
@@ -47,14 +47,14 @@ typedef struct LLSModel {
* 32-byte aligned, and any padding elements must be initialized
* (i.e not denormal/nan).
*/
- void (*update_lls)(struct LLSModel *m, double *var);
+ void (*update_lls)(struct LLSModel *m, const double *var);
/**
* Inner product of var[] and the LPC coefs.
* @param m this context
* @param var training samples, excluding the value to be predicted. unaligned.
* @param order lpc order
*/
- double (*evaluate_lls)(struct LLSModel *m, double *var, int order);
+ double (*evaluate_lls)(struct LLSModel *m, const double *var, int order);
} LLSModel;
void avpriv_init_lls(LLSModel *m, int indep_count);