diff options
author | Dieter <freebsd@sopwith.solgatos.com> | 2002-12-06 17:58:21 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-12-06 17:58:21 +0000 |
commit | 00a7d8d69c2f63ac4a2de1b2237696a516f8d5d2 (patch) | |
tree | d97767f3c732776285a7833149397a1647ae5fa5 | |
parent | 6c16199b4306ae35f5e0d67362f79ec89aafa199 (diff) | |
download | ffmpeg-00a7d8d69c2f63ac4a2de1b2237696a516f8d5d2.tar.gz |
practically disabling altivec resampling code (some ppl said its broken) patch by (Dieter Shirley <dieters at schemasoft dot com>)
Originally committed as revision 1321 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/imgresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c index b1cfab9734..28147fc72a 100644 --- a/libavcodec/imgresample.c +++ b/libavcodec/imgresample.c @@ -512,7 +512,7 @@ static void component_resample(ImgReSampleContext *s, 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]); |