[FFmpeg-cvslog] avutil/ppc/util_altivec: add () to VEC_LD macro arguments

Michael Niedermayer git at videolan.org
Fri Nov 7 15:25:17 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov  7 15:13:47 2014 +0100| [ddac3053cd28788581d6944ca64c67cfe414a577] | committer: Michael Niedermayer

avutil/ppc/util_altivec: add () to VEC_LD macro arguments

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavutil/ppc/util_altivec.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/ppc/util_altivec.h b/libavutil/ppc/util_altivec.h
index fd3bfd3..2f0c6eb 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)



More information about the ffmpeg-cvslog mailing list