summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Dolbeau <dolbeau@irisa.fr>2004-04-16 12:47:37 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-16 12:47:37 +0000
commita19476245033b157c3eaf7154b480f60554961b9 (patch)
tree0a386c19f73c698230c5f27ba6df16d9506cf955
parent0abd691683222ba061360bf668891974d5d53388 (diff)
forgotten copyright & dct_quantize_altivec disabled patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 3023 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ppc/mpegvideo_altivec.c3
-rw-r--r--libavcodec/ppc/mpegvideo_ppc.c2
2 files changed, 5 insertions, 0 deletions
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 <romain@dolbeau.org>
+ *
* 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;
}