Android: minor warning
authorSylvain Becker <sylvain.becker@gmail.com>
Fri, 30 Aug 2019 09:00:06 +0200
changeset 13042a4f7b983fbe8
parent 13041 6ea2f4ed7014
child 13043 3cdcccbeec91
Android: minor warning
src/video/SDL_yuv.c
     1.1 --- a/src/video/SDL_yuv.c	Fri Aug 30 08:55:20 2019 +0200
     1.2 +++ b/src/video/SDL_yuv.c	Fri Aug 30 09:00:06 2019 +0200
     1.3 @@ -1221,6 +1221,7 @@
     1.4      return SDL_SetError("SDL_ConvertPixels_Planar2x2_to_Planar2x2: Unsupported YUV conversion: %s -> %s", SDL_GetPixelFormatName(src_format), SDL_GetPixelFormatName(dst_format));
     1.5  }
     1.6  
     1.7 +#ifdef __SSE2__
     1.8  #define PACKED4_TO_PACKED4_ROW_SSE2(shuffle)                                                        \
     1.9      while (x >= 4) {                                                                                \
    1.10          __m128i yuv = _mm_loadu_si128((__m128i*)srcYUV);                                            \
    1.11 @@ -1237,6 +1238,8 @@
    1.12          x -= 4;                                                                                     \
    1.13      }                                                                                               \
    1.14  
    1.15 +#endif
    1.16 +
    1.17  static int
    1.18  SDL_ConvertPixels_YUY2_to_UYVY(int width, int height, const void *src, int src_pitch, void *dst, int dst_pitch)
    1.19  {