diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-15 20:26:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-15 20:31:06 +0200 |
commit | 003d497d31ff3d0dd0309d4694a5c853f415ffb9 (patch) | |
tree | 0b8b74bf92425d1e83c8b12a4129de7672fee899 /libavutil/pca.c | |
parent | a4f03f082b87bfb26055a6cd475a16e95163ba1f (diff) | |
download | ffmpeg-003d497d31ff3d0dd0309d4694a5c853f415ffb9.tar.gz |
pca: use sizeof(variable) instead of sizeos(TYPE)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/pca.c')
-rw-r--r-- | libavutil/pca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/pca.c b/libavutil/pca.c index 54927a2cb3..c2a9e296b7 100644 --- a/libavutil/pca.c +++ b/libavutil/pca.c @@ -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; |