diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-08-17 15:35:55 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-08-17 15:35:55 +0000 |
commit | 7b0a6612c639de6cf48f237ddc20f60191b0bbd5 (patch) | |
tree | 7e99eb3665c5231d67b5e7770d31862fd23ae610 /libavutil | |
parent | 88ccaf6f311fc2ccf100983a7d345f2d7af65c9b (diff) | |
download | ffmpeg-7b0a6612c639de6cf48f237ddc20f60191b0bbd5.tar.gz |
Do not mix declarations and statements (by ramiro).
Originally committed as revision 14806 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/pca.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/pca.c b/libavutil/pca.c index b058665e93..6e798b6cf9 100644 --- a/libavutil/pca.c +++ b/libavutil/pca.c @@ -126,11 +126,11 @@ int ff_pca(PCA *pca, double *eigenvector, double *eigenvalue){ z[i] -= t*covar; z[j] += t*covar; -#define ROTATE(a,i,j,k,l)\ +#define ROTATE(a,i,j,k,l) {\ double g=a[j + i*n];\ double h=a[l + k*n];\ a[j + i*n]=g-s*(h+g*tau);\ - a[l + k*n]=h+s*(g-h*tau); + a[l + k*n]=h+s*(g-h*tau); } for(k=0; k<n; k++) { if(k!=i && k!=j){ ROTATE(pca->covariance,FFMIN(k,i),FFMAX(k,i),FFMIN(k,j),FFMAX(k,j)) |