[FFmpeg-cvslog] h264: fix ppc/altivec build

Mans Rullgard git at videolan.org
Sat Oct 22 01:26:48 CEST 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Fri Oct 21 12:34:08 2011 +0100| [b034c95cc1a700b7d0849cedb1316989c3fb15be] | committer: Mans Rullgard

h264: fix ppc/altivec build

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b034c95cc1a700b7d0849cedb1316989c3fb15be
---

 libavcodec/ppc/h264_altivec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/ppc/h264_altivec.c b/libavcodec/ppc/h264_altivec.c
index edc043c..3163a37 100644
--- a/libavcodec/ppc/h264_altivec.c
+++ b/libavcodec/ppc/h264_altivec.c
@@ -956,11 +956,11 @@ void biweight_h264_W_altivec(uint8_t *dst, uint8_t *src, int stride, int height,
 #define H264_WEIGHT(W) \
 static void ff_weight_h264_pixels ## W ## _altivec(uint8_t *block, int stride, int height, \
                                                    int log2_denom, int weight, int offset){ \
-    weight_h264_WxH_altivec(block, stride, height, log2_denom, weight, offset, W); \
+    weight_h264_W_altivec(block, stride, height, log2_denom, weight, offset, W); \
 }\
 static void ff_biweight_h264_pixels ## W ## _altivec(uint8_t *dst, uint8_t *src, int stride, int height, \
                                                      int log2_denom, int weightd, int weights, int offset){ \
-    biweight_h264_WxH_altivec(dst, src, stride, height, log2_denom, weightd, weights, offset, W); \
+    biweight_h264_W_altivec(dst, src, stride, height, log2_denom, weightd, weights, offset, W); \
 }
 
 H264_WEIGHT(16)



More information about the ffmpeg-cvslog mailing list