Commit 003d497d authored by Michael Niedermayer's avatar Michael Niedermayer

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

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a4f03f08
......@@ -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;
......
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