vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Jan 14 
22:22:29 2016 +0200| [ecb7a33bccf79441588cd78e30ee8a4cef7f0c2a] | committer: 
Rémi Denis-Courmont

video_chroma: mute unused variable warning

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

 modules/video_chroma/copy.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_chroma/copy.c b/modules/video_chroma/copy.c
index ea61889..653c8db 100644
--- a/modules/video_chroma/copy.c
+++ b/modules/video_chroma/copy.c
@@ -103,7 +103,7 @@ static void CopyFromUswc(uint8_t *dst, size_t dst_pitch,
                          unsigned width, unsigned height,
                          unsigned cpu)
 {
-#ifndef CAN_COMPILE_SSSE3
+#if defined (__SSE4_1__) || !defined(CAN_COMPILE_SSSE3)
     VLC_UNUSED(cpu);
 #endif
     assert(((intptr_t)dst & 0x0f) == 0 && (dst_pitch & 0x0f) == 0);
@@ -179,7 +179,7 @@ static void SSE_SplitUV(uint8_t *dstu, size_t dstu_pitch,
                         const uint8_t *src, size_t src_pitch,
                         unsigned width, unsigned height, unsigned cpu)
 {
-#ifndef CAN_COMPILE_SSSE3
+#if defined(__SSSE3__) || !defined (CAN_COMPILE_SSSE3)
     VLC_UNUSED(cpu);
 #endif
     const uint8_t shuffle[] = { 0, 2, 4, 6, 8, 10, 12, 14,

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to