mirror of
https://github.com/mpv-player/mpv
synced 2025-03-01 20:00:37 +00:00
cosmetics: Reorder some x86-related preprocessor conditionals.
This fixes two of the following warnings on non-x86 machines: libmpcodecs/vf_gradfun.c:388:5: warning: "HAVE_EBX_AVAILABLE" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31025 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7e8bfbef4b
commit
9ceb70782b
@ -188,7 +188,7 @@ static void filter_line_ssse3(uint8_t *dst, uint8_t *src, uint16_t *dc,
|
||||
}
|
||||
#endif // HAVE_SSSE3
|
||||
|
||||
#if HAVE_6REGS && HAVE_SSE2
|
||||
#if HAVE_SSE2 && HAVE_6REGS
|
||||
#define BLURV(load)\
|
||||
intptr_t x = -2*width;\
|
||||
__asm__ volatile(\
|
||||
@ -385,7 +385,7 @@ static int vf_open(vf_instance_t *vf, char *args)
|
||||
|
||||
vf->priv->blur_line = blur_line_c;
|
||||
vf->priv->filter_line = filter_line_c;
|
||||
#if HAVE_6REGS && HAVE_SSE2
|
||||
#if HAVE_SSE2 && HAVE_6REGS
|
||||
if (gCpuCaps.hasSSE2)
|
||||
vf->priv->blur_line = blur_line_sse2;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user