aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpeg2
diff options
context:
space:
mode:
Diffstat (limited to 'libmpeg2')
-rw-r--r--libmpeg2/idct.c2
-rw-r--r--libmpeg2/libmpeg2_changes.diff2
2 files changed, 2 insertions, 2 deletions
diff --git a/libmpeg2/idct.c b/libmpeg2/idct.c
index 82049df4bc..e753053354 100644
--- a/libmpeg2/idct.c
+++ b/libmpeg2/idct.c
@@ -265,7 +265,7 @@ void mpeg2_idct_init (uint32_t accel)
mpeg2_idct_altivec_init ();
} else
#endif
-#ifdef HAVE_VIS
+#ifdef HAVE_MVI
if (accel & MPEG2_ACCEL_ALPHA_MVI) {
mpeg2_idct_copy = mpeg2_idct_copy_mvi;
mpeg2_idct_add = mpeg2_idct_add_mvi;
diff --git a/libmpeg2/libmpeg2_changes.diff b/libmpeg2/libmpeg2_changes.diff
index ec95f96997..6220b61f03 100644
--- a/libmpeg2/libmpeg2_changes.diff
+++ b/libmpeg2/libmpeg2_changes.diff
@@ -111,7 +111,7 @@
} else
#endif
-#ifdef ARCH_ALPHA
-+#ifdef HAVE_VIS
++#ifdef HAVE_MVI
if (accel & MPEG2_ACCEL_ALPHA_MVI) {
mpeg2_idct_copy = mpeg2_idct_copy_mvi;
mpeg2_idct_add = mpeg2_idct_add_mvi;