Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-15 22:26:34 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-04-15 22:31:06 +0400
commit003d497d31ff3d0dd0309d4694a5c853f415ffb9 (patch)
tree0b8b74bf92425d1e83c8b12a4129de7672fee899 /libavutil
parenta4f03f082b87bfb26055a6cd475a16e95163ba1f (diff)
pca: use sizeof(variable) instead of sizeos(TYPE)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/pca.c2
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;