summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/checkasm/sw_scale.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/checkasm/sw_scale.c b/tests/checkasm/sw_scale.c
index 9f0b72038d..2680e47897 100644
--- a/tests/checkasm/sw_scale.c
+++ b/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)