Commit f4cb8865 authored by diego's avatar diego

Initialize variable to silence the warning:

libavutil/pca.c:72: warning: ‘k’ may be used uninitialized in this function


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15760 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4d7bd857
......@@ -67,7 +67,8 @@ void ff_pca_add(PCA *pca, double *v){
}
int ff_pca(PCA *pca, double *eigenvector, double *eigenvalue){
int i, j, k, pass;
int i, j, pass;
int k=0;
const int n= pca->n;
double z[n];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment