diff options
-rw-r--r-- | libmpcodecs/vf_yadif.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpcodecs/vf_yadif.c b/libmpcodecs/vf_yadif.c index 9e2a577df4..43fd73cb05 100644 --- a/libmpcodecs/vf_yadif.c +++ b/libmpcodecs/vf_yadif.c @@ -366,6 +366,9 @@ static void filter(struct vf_priv_s *p, uint8_t *dst[3], int dst_stride[3], int } } } +#if defined(HAVE_MMX) && defined(NAMED_ASM_ARGS) + if(gCpuCaps.hasMMX2) asm volatile("emms \n\t" : : : "memory"); +#endif } static int config(struct vf_instance_s* vf, |