aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/lls.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-02-25 10:37:39 +0100
committerLuca Barbato <lu_zero@gentoo.org>2013-02-28 17:39:24 +0100
commit399663be9d4a839b894c48a21b62926eb8497d72 (patch)
tree5c7ec14a1da0a321180b91d4b5086c9863101036 /libavutil/lls.h
parent9d4da474f5f40b019cb4cb931c8499deee586174 (diff)
downloadffmpeg-399663be9d4a839b894c48a21b62926eb8497d72.tar.gz
lls: mark max_order as unsigned short
The value is within 0 and 32. Remove an `array subscript is below array bounds` warning.
Diffstat (limited to 'libavutil/lls.h')
-rw-r--r--libavutil/lls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/lls.h b/libavutil/lls.h
index 4b197985a8..abaf4a7374 100644
--- a/libavutil/lls.h
+++ b/libavutil/lls.h
@@ -39,7 +39,7 @@ typedef struct LLSModel {
void avpriv_init_lls(LLSModel *m, int indep_count);
void avpriv_update_lls(LLSModel *m, double *param, double decay);
-void avpriv_solve_lls(LLSModel *m, double threshold, int min_order);
+void avpriv_solve_lls(LLSModel *m, double threshold, unsigned short min_order);
double avpriv_evaluate_lls(LLSModel *m, double *param, int order);
#ifndef FF_API_LLS_PRIVATE