aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/ppc/mpegvideo_altivec.c
diff options
context:
space:
mode:
authorDiego Biurrun2007-10-01 14:23:36 +0000
committerDiego Biurrun2007-10-01 14:23:36 +0000
commit7fd7259a3f1c389cc38e9e102ac3b8aa6808456c (patch)
treec7e189396f99b976494eb783c84b71a87bb5fc33 /libavcodec/ppc/mpegvideo_altivec.c
parentcd195f14c6d9a20a932ff94f9d02f470de13cd14 (diff)
Remove const vector macro indirection that is useless and obfuscating
now that the Metrowerks workarounds are gone. Originally committed as revision 10633 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/mpegvideo_altivec.c')
-rw-r--r--libavcodec/ppc/mpegvideo_altivec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c
index 9021d4540e..2292dbc6fb 100644
--- a/libavcodec/ppc/mpegvideo_altivec.c
+++ b/libavcodec/ppc/mpegvideo_altivec.c
@@ -79,7 +79,7 @@ int dct_quantize_altivec(MpegEncContext* s,
int lastNonZero;
vector float row0, row1, row2, row3, row4, row5, row6, row7;
vector float alt0, alt1, alt2, alt3, alt4, alt5, alt6, alt7;
- const_vector float zero = (const_vector float)FOUROF(0.);
+ const vector float zero = (const vector float)FOUROF(0.);
// used after quantise step
int oldBaseValue = 0;
@@ -522,7 +522,7 @@ POWERPC_PERF_START_COUNT(altivec_dct_unquantize_h263_num, 1);
}
{
- register const_vector signed short vczero = (const_vector signed short)vec_splat_s16(0);
+ register const vector signed short vczero = (const vector signed short)vec_splat_s16(0);
DECLARE_ALIGNED_16(short, qmul8[]) =
{
qmul, qmul, qmul, qmul,