# HG changeset patch # User diego # Date 1227515374 0 # Node ID 5c4dbd36c0cf9c70c8ae1638da297908b705daff # Parent 9fb2ae256b5c920e1dbf00ef2d77b553ebae4955 Fix HAVE_VIS vs. HAVE_MVI typo, SPARC has MVI, not VIS. patch by Alexis Ballier, alexis.ballier gmail com diff -r 9fb2ae256b5c -r 5c4dbd36c0cf libmpeg2/idct.c --- a/libmpeg2/idct.c Sun Nov 23 22:01:54 2008 +0000 +++ b/libmpeg2/idct.c Mon Nov 24 08:29:34 2008 +0000 @@ -265,7 +265,7 @@ 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 -r 9fb2ae256b5c -r 5c4dbd36c0cf libmpeg2/libmpeg2_changes.diff --- a/libmpeg2/libmpeg2_changes.diff Sun Nov 23 22:01:54 2008 +0000 +++ b/libmpeg2/libmpeg2_changes.diff Mon Nov 24 08:29:34 2008 +0000 @@ -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;