diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-01 13:32:12 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-01 13:32:16 +0100 |
commit | 28bb17ca362286c92384e466d0c47f702f5d2e3d (patch) | |
tree | 8715dd7676a1fdfbdaac2651fa47883edbda19c3 | |
parent | 76f8d3c8d9211daca678747e9521c7ed9e90aba9 (diff) | |
parent | 399663be9d4a839b894c48a21b62926eb8497d72 (diff) | |
download | ffmpeg-28bb17ca362286c92384e466d0c47f702f5d2e3d.tar.gz |
Merge commit '399663be9d4a839b894c48a21b62926eb8497d72'
* commit '399663be9d4a839b894c48a21b62926eb8497d72':
lls: mark max_order as unsigned short
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavutil/lls.c | 2 | ||||
-rw-r--r-- | libavutil/lls.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/lls.c b/libavutil/lls.c index 13eea96fde..749163e68b 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]; diff --git a/libavutil/lls.h b/libavutil/lls.h index 0f02c8d6a5..d8d53d0a3d 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 |