[FFmpeg-cvslog] avutil/ppc/util_altivec: add () to VEC_SPLAT16 macro
Michael Niedermayer
git at videolan.org
Sat Nov 29 13:49:10 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Nov 29 13:40:33 2014 +0100| [5bf4cd8e5b77a975b3c9ef43892a0a6ae65e3b44] | committer: Michael Niedermayer
avutil/ppc/util_altivec: add () to VEC_SPLAT16 macro
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5bf4cd8e5b77a975b3c9ef43892a0a6ae65e3b44
---
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 c0b71c8..51a4e8c 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
More information about the ffmpeg-cvslog
mailing list