aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2020-05-16 08:13:58 +0300
committerMartin Storsjö <martin@martin.st>2020-05-16 08:16:12 +0300
commit9c326af1d0423d59b204234cbd1d7ad19d857d69 (patch)
tree845a0b22f045c8e4dbcdc97a8343bed25410bff4
parent718f05f5e5cfc38a5123deac7259f548b2f04751 (diff)
downloadffmpeg-9c326af1d0423d59b204234cbd1d7ad19d857d69.tar.gz
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>
-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)