Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-07-22 04:04:06 +0400
committerRonald S. Bultje <rsbultje@gmail.com>2012-07-22 04:16:49 +0400
commit731fa116b4d9ebe53fbacbd3ddda6ced840e4233 (patch)
tree64274b47ff60ed3b2c5a058a1ffc29114480e4d2 /libavfilter
parentb170b323e3ea308bde5466859814af198bd45a2a (diff)
yadif: use emms_c() instead of inline assembly for emms invocations.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_yadif.c5
1 files changed, 2 insertions, 3 deletions
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)