summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/ppc/h264_altivec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/h264_altivec.c b/libavcodec/ppc/h264_altivec.c
index c8968b4338..4d88b320ae 100644
--- a/libavcodec/ppc/h264_altivec.c
+++ b/libavcodec/ppc/h264_altivec.c
@@ -776,7 +776,7 @@ static inline vector unsigned char h264_deblock_mask ( register vector unsigned
register vector unsigned char delta; \
register vector unsigned char deltaneg; \
\
- temp = vec_cmpeq(p0, p0); \
+ temp = (vector unsigned char)vec_cmpeq(p0, p0); \
q1minus = vec_xor(temp, q1); /* 255 - q1 */ \
stage1 = vec_avg(p1, q1minus); /* (p1 - q1 + 256)>>1 */ \
stage2 = vec_sr(stage1, vec_splat_u8(1)); /* (p1 - q1 + 256)>>2 = 64 + (p1 - q1) >> 2 */ \