mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 00:32:31 +00:00
pca: use sizeof(variable) instead of sizeos(TYPE)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a4f03f082b
commit
003d497d31
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user