From fcc9a6282dd3c541055636ac49882d1639da251b Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Tue, 19 Jul 2005 20:30:38 +0000 Subject: here is cvs update people requested - somebody please check for gcc4 compatibility CVS patchset: 7668 CVS date: 2005/07/19 20:30:38 --- src/libffmpeg/libavcodec/ppc/dsputil_ppc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libffmpeg/libavcodec/ppc/dsputil_ppc.c') diff --git a/src/libffmpeg/libavcodec/ppc/dsputil_ppc.c b/src/libffmpeg/libavcodec/ppc/dsputil_ppc.c index 80dea036d..776f4235c 100644 --- a/src/libffmpeg/libavcodec/ppc/dsputil_ppc.c +++ b/src/libffmpeg/libavcodec/ppc/dsputil_ppc.c @@ -305,6 +305,8 @@ void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx) } #endif //CONFIG_ENCODERS + if (avctx->lowres==0) + { if ((avctx->idct_algo == FF_IDCT_AUTO) || (avctx->idct_algo == FF_IDCT_ALTIVEC)) { @@ -316,6 +318,7 @@ void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx) c->idct_permutation_type = FF_NO_IDCT_PERM; #endif /* ALTIVEC_USE_REFERENCE_C_CODE */ } + } #ifdef POWERPC_PERFORMANCE_REPORT { -- cgit v1.2.3