diff options
-rw-r--r-- | libswscale/swscale_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index 3262b6ee85..6f2e243052 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -2219,7 +2219,7 @@ static inline void RENAME(hyscale)(SwsContext *c, uint16_t *dst, long dstWidth, } else // fast bilinear upscale / crap downscale { -#if ARCH_X86 +#if ARCH_X86 && CONFIG_GPL #if HAVE_MMX2 int i; #if defined(PIC) @@ -2492,7 +2492,7 @@ inline static void RENAME(hcscale)(SwsContext *c, uint16_t *dst, long dstWidth, } else // fast bilinear upscale / crap downscale { -#if ARCH_X86 +#if ARCH_X86 && CONFIG_GPL #if HAVE_MMX2 int i; #if defined(PIC) |