From 731fa116b4d9ebe53fbacbd3ddda6ced840e4233 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 21 Jul 2012 17:04:06 -0700 Subject: yadif: use emms_c() instead of inline assembly for emms invocations. --- libavfilter/vf_yadif.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libavfilter/vf_yadif.c') diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index 40cfdf54ef..02feeb213c 100644 --- a/libavfilter/vf_yadif.c +++ b/libavfilter/vf_yadif.c @@ -135,9 +135,8 @@ static void filter(AVFilterContext *ctx, AVFilterBufferRef *dstpic, } } } -#if HAVE_MMX - __asm__ volatile("emms \n\t" : : : "memory"); -#endif + + emms_c(); } static AVFilterBufferRef *get_video_buffer(AVFilterLink *link, int perms, int w, int h) -- cgit v1.2.3