summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-29 13:40:33 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-29 13:40:33 +0100
commit5bf4cd8e5b77a975b3c9ef43892a0a6ae65e3b44 (patch)
treeb92fc55be52ebe383fd45784163800f96e4ef31b /libavutil
parentc299b6fd080743afa7d46f217eced54935d95bff (diff)
downloadffmpeg-5bf4cd8e5b77a975b3c9ef43892a0a6ae65e3b44.tar.gz
avutil/ppc/util_altivec: add () to VEC_SPLAT16 macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/ppc/util_altivec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/ppc/util_altivec.h b/libavutil/ppc/util_altivec.h
index c0b71c8ed1..51a4e8ca58 100644
--- a/libavutil/ppc/util_altivec.h
+++ b/libavutil/ppc/util_altivec.h
@@ -149,7 +149,7 @@ static inline vec_u8 load_with_perm_vec(int offset, const uint8_t *src, vec_u8 p
#endif
#if HAVE_BIGENDIAN
-#define VEC_SPLAT16(a,b) vec_splat((vec_s16)a, b)
+#define VEC_SPLAT16(a,b) vec_splat((vec_s16)(a), b)
#else
#define VEC_SPLAT16(a,b) vec_splat((vec_s16)(vec_perm(a, a, vcswapi2s(0,1,2,3))), b)
#endif