Commit b28f470d authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/pca: Make argument of ff_pca_add() const

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 04152a31
......@@ -57,7 +57,7 @@ void ff_pca_free(PCA *pca){
av_free(pca);
}
void ff_pca_add(PCA *pca, double *v){
void ff_pca_add(PCA *pca, const double *v){
int i, j;
const int n= pca->n;
......
......@@ -29,7 +29,7 @@
struct PCA *ff_pca_init(int n);
void ff_pca_free(struct PCA *pca);
void ff_pca_add(struct PCA *pca, double *v);
void ff_pca_add(struct PCA *pca, const double *v);
int ff_pca(struct PCA *pca, double *eigenvector, double *eigenvalue);
#endif /* AVUTIL_PCA_H */
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