From a19476245033b157c3eaf7154b480f60554961b9 Mon Sep 17 00:00:00 2001 From: Romain Dolbeau Date: Fri, 16 Apr 2004 12:47:37 +0000 Subject: [PATCH] forgotten copyright & dct_quantize_altivec disabled patch by (Romain Dolbeau ) Originally committed as revision 3023 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ppc/mpegvideo_altivec.c | 3 +++ libavcodec/ppc/mpegvideo_ppc.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c index 51b387792c..91e744af97 100644 --- a/libavcodec/ppc/mpegvideo_altivec.c +++ b/libavcodec/ppc/mpegvideo_altivec.c @@ -1,6 +1,9 @@ /* * Copyright (c) 2002 Dieter Shirley * + * dct_unquantize_h263_altivec: + * Copyright (c) 2003 Romain Dolbeau + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either diff --git a/libavcodec/ppc/mpegvideo_ppc.c b/libavcodec/ppc/mpegvideo_ppc.c index 54e6f35c2a..c8269eb9a3 100644 --- a/libavcodec/ppc/mpegvideo_ppc.c +++ b/libavcodec/ppc/mpegvideo_ppc.c @@ -71,7 +71,9 @@ void MPV_common_init_ppc(MpegEncContext *s) if ((s->avctx->dct_algo == FF_DCT_AUTO) || (s->avctx->dct_algo == FF_DCT_ALTIVEC)) { +#if 0 /* seems to cause trouble under some circumstances */ s->dct_quantize = dct_quantize_altivec; +#endif s->dct_unquantize_h263_intra = dct_unquantize_h263_altivec; s->dct_unquantize_h263_inter = dct_unquantize_h263_altivec; }