comparison libmpeg2/libmpeg-0.4.1.diff @ 21534:6bee9fab79f6

Fix ppc without altivec compilation
author reimar
date Sat, 09 Dec 2006 18:09:41 +0000
parents 60a39d71e247
children f6881c789312
comparison
equal deleted inserted replaced
21533:390b966a0f8c 21534:6bee9fab79f6
371 + +(decoder->offset>>4)] = decoder->quantizer_scale; \ 371 + +(decoder->offset>>4)] = decoder->quantizer_scale; \
372 + } \ 372 + } \
373 decoder->offset += 16; \ 373 decoder->offset += 16; \
374 if (decoder->offset == decoder->width) { \ 374 if (decoder->offset == decoder->width) { \
375 do { /* just so we can use the break statement */ \ 375 do { /* just so we can use the break statement */ \
376 --- libmpeg2/idct.c 2006-06-16 20:12:26.000000000 +0200
377 +++ libmpeg2/idct.c 2006-06-16 20:12:50.000000000 +0200
378 @@ -253,7 +253,7 @@
379 mpeg2_idct_mmx_init ();
380 } else
381 #endif
382 -#ifdef ARCH_PPC
383 +#if defined(ARCH_PPC) && defined(HAVE_ALTIVEC)
384 if (accel & MPEG2_ACCEL_PPC_ALTIVEC) {
385 mpeg2_idct_copy = mpeg2_idct_copy_altivec;
386 mpeg2_idct_add = mpeg2_idct_add_altivec;