Skip to content
Snippets Groups Projects
Commit 003d497d authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

pca: use sizeof(variable) instead of sizeos(TYPE)


Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent a4f03f08
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ PCA *ff_pca_init(int n){
if(n<=0)
return NULL;
pca= av_mallocz(sizeof(PCA));
pca= av_mallocz(sizeof(*pca));
pca->n= n;
pca->z = av_malloc(sizeof(*pca->z) * n);
pca->count=0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment