Commit f023003c authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Fix compilation with --disable-everything.

parent 6471f63d
...@@ -1785,6 +1785,7 @@ static av_always_inline void gmc(uint8_t *dst, uint8_t *src, ...@@ -1785,6 +1785,7 @@ static av_always_inline void gmc(uint8_t *dst, uint8_t *src,
} }
} }
#if CONFIG_VIDEODSP
#if HAVE_YASM #if HAVE_YASM
#if ARCH_X86_32 #if ARCH_X86_32
static void gmc_mmx(uint8_t *dst, uint8_t *src, static void gmc_mmx(uint8_t *dst, uint8_t *src,
...@@ -1814,6 +1815,7 @@ static void gmc_mmx(uint8_t *dst, uint8_t *src, ...@@ -1814,6 +1815,7 @@ static void gmc_mmx(uint8_t *dst, uint8_t *src,
width, height, &ff_emulated_edge_mc_8); width, height, &ff_emulated_edge_mc_8);
} }
#endif #endif
#endif
#endif /* HAVE_INLINE_ASM */ #endif /* HAVE_INLINE_ASM */
...@@ -2518,7 +2520,7 @@ static void dsputil_init_sse(DSPContext *c, AVCodecContext *avctx, int mm_flags) ...@@ -2518,7 +2520,7 @@ static void dsputil_init_sse(DSPContext *c, AVCodecContext *avctx, int mm_flags)
c->scalarproduct_float = ff_scalarproduct_float_sse; c->scalarproduct_float = ff_scalarproduct_float_sse;
c->butterflies_float_interleave = ff_butterflies_float_interleave_sse; c->butterflies_float_interleave = ff_butterflies_float_interleave_sse;
#if HAVE_INLINE_ASM #if HAVE_INLINE_ASM && CONFIG_VIDEODSP
c->gmc = gmc_sse; c->gmc = gmc_sse;
#endif #endif
#endif /* HAVE_YASM */ #endif /* HAVE_YASM */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment