aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/lls.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-01-31 20:52:14 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-01-31 20:52:14 +0000
commitb8fe8ab0620c50aa58da7e609484b85f666cc9a4 (patch)
tree3da046137a2c0bb377e637dcbd7a1fb797d9a3af /libavutil/lls.c
parentaba29e6feba0ab0d52cdd711cd5c1dbe8bbb5877 (diff)
downloadffmpeg-b8fe8ab0620c50aa58da7e609484b85f666cc9a4.tar.gz
Fix the following using void* casts, proper casts are less readable and
avoiding casts would be even less readable, but other suggestions are welcome. lls.c:56: warning: initialization from incompatible pointer type lls.c:57: warning: initialization from incompatible pointer type Originally committed as revision 11697 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/lls.c')
-rw-r--r--libavutil/lls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/lls.c b/libavutil/lls.c
index 43c6790d7d..b9d2d81681 100644
--- a/libavutil/lls.c
+++ b/libavutil/lls.c
@@ -53,8 +53,8 @@ void av_update_lls(LLSModel *m, double *var, double decay){
void av_solve_lls(LLSModel *m, double threshold, int min_order){
int i,j,k;
- double (*factor)[MAX_VARS+1]= &m->covariance[1][0];
- double (*covar )[MAX_VARS+1]= &m->covariance[1][1];
+ double (*factor)[MAX_VARS+1]= (void*)&m->covariance[1][0];
+ double (*covar )[MAX_VARS+1]= (void*)&m->covariance[1][1];
double *covar_y = m->covariance[0];
int count= m->indep_count;