changeset 920:a0ad8e3452f2 libavcodec

practically disabling altivec resampling code (some ppl said its broken) patch by (Dieter Shirley <dieters at schemasoft dot com>)
author michaelni
date Fri, 06 Dec 2002 17:58:21 +0000
parents c87eee6da7b1
children f633377858b6
files imgresample.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/imgresample.c	Fri Dec 06 17:39:32 2002 +0000
+++ b/imgresample.c	Fri Dec 06 17:58:21 2002 +0000
@@ -512,7 +512,7 @@
         else
 #endif
 #ifdef HAVE_ALTIVEC
-            if ((mm_flags & MM_ALTIVEC) && NB_TAPS == 4 && FILTER_BITS == 8)
+            if ((mm_flags & MM_ALTIVEC) && NB_TAPS == 4 && FILTER_BITS <= 6)
                 v_resample16_altivec(output, owidth,
                                 s->line_buf + (ring_y - NB_TAPS + 1) * owidth, owidth,
                                 &s->v_filters[phase_y][0]);