checkasm: swscale: Fix running the hscale test on 32 bit x86

This function doesn't call emms.

Signed-off-by: Martin Storsjö <martin@martin.st>
pull/338/head
Martin Storsjö 5 years ago
parent 718f05f5e5
commit 9c326af1d0
  1. 6
      tests/checkasm/sw_scale.c

@ -63,9 +63,9 @@ static void check_hscale(void)
// The dst parameter here is either int16_t or int32_t but we use void* to
// just cover both cases.
declare_func(void, void *c, void *dst, int dstW,
const uint8_t *src, const int16_t *filter,
const int32_t *filterPos, int filterSize);
declare_func_emms(AV_CPU_FLAG_MMX, void, void *c, void *dst, int dstW,
const uint8_t *src, const int16_t *filter,
const int32_t *filterPos, int filterSize);
ctx = sws_alloc_context();
if (sws_init_context(ctx, NULL, NULL) < 0)

Loading…
Cancel
Save