diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-01-15 14:36:28 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-03-20 05:03:22 -0700 |
commit | b7d24fd4b2213104c001ed504074495568600b9c (patch) | |
tree | 581250f02777109e63b52c94b953188d699b1b17 /libavcodec/ppc/fdct_altivec.c | |
parent | b045283f2126637477a597f184638ebef09bf898 (diff) | |
download | ffmpeg-b7d24fd4b2213104c001ed504074495568600b9c.tar.gz |
ppc: dsputil: Merge some declarations and initializations
Diffstat (limited to 'libavcodec/ppc/fdct_altivec.c')
-rw-r--r-- | libavcodec/ppc/fdct_altivec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/ppc/fdct_altivec.c b/libavcodec/ppc/fdct_altivec.c index 848a034f40..4e860fa890 100644 --- a/libavcodec/ppc/fdct_altivec.c +++ b/libavcodec/ppc/fdct_altivec.c @@ -191,7 +191,7 @@ static vector float fdctconsts[3] = { void ff_fdct_altivec(int16_t *block) { vector signed short *bp; - vector float *cp; + vector float *cp = fdctconsts; vector float b00, b10, b20, b30, b40, b50, b60, b70; vector float b01, b11, b21, b31, b41, b51, b61, b71; vector float mzero, cnst, cnsts0, cnsts1, cnsts2; @@ -201,7 +201,6 @@ void ff_fdct_altivec(int16_t *block) /* mzero = -0.0 */ mzero = ((vector float) vec_splat_u32(-1)); mzero = ((vector float) vec_sl(vu32(mzero), vu32(mzero))); - cp = fdctconsts; cnsts0 = vec_ld(0, cp); cp++; cnsts1 = vec_ld(0, cp); |