summaryrefslogtreecommitdiff
path: root/libavutil/ppc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-07 15:13:47 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-07 15:13:47 +0100
commitddac3053cd28788581d6944ca64c67cfe414a577 (patch)
tree1eca5ffd026a5e0694d893ae4ae9df8635699562 /libavutil/ppc
parent1a1a98f644d66c8b3749cf5354044c710dee6e6b (diff)
downloadffmpeg-ddac3053cd28788581d6944ca64c67cfe414a577.tar.gz
avutil/ppc/util_altivec: add () to VEC_LD macro arguments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/ppc')
-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 fd3bfd3219..2f0c6eb902 100644
--- a/libavutil/ppc/util_altivec.h
+++ b/libavutil/ppc/util_altivec.h
@@ -87,7 +87,7 @@ do { \
#if HAVE_BIGENDIAN
#define VEC_LD(offset,b) \
- vec_perm(vec_ld(offset, b), vec_ld(offset+15, b), vec_lvsl(offset, b))
+ vec_perm(vec_ld(offset, b), vec_ld((offset)+15, b), vec_lvsl(offset, b))
#else
#define VEC_LD(offset,b) \
vec_vsx_ld(offset, b)