summaryrefslogtreecommitdiff
path: root/libavutil/lls.c
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.c
parent9d4da474f5f40b019cb4cb931c8499deee586174 (diff)
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.c')
-rw-r--r--libavutil/lls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/lls.c b/libavutil/lls.c
index 645e528744..a26b3c23d9 100644
--- a/libavutil/lls.c
+++ b/libavutil/lls.c
@@ -48,7 +48,7 @@ void avpriv_update_lls(LLSModel *m, double *var, 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)
{
int i, j, k;
double (*factor)[MAX_VARS + 1] = (void *) &m->covariance[1][0];