diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-07-21 17:04:06 -0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-07-21 17:16:49 -0700 |
commit | 731fa116b4d9ebe53fbacbd3ddda6ced840e4233 (patch) | |
tree | 64274b47ff60ed3b2c5a058a1ffc29114480e4d2 | |
parent | b170b323e3ea308bde5466859814af198bd45a2a (diff) | |
download | ffmpeg-731fa116b4d9ebe53fbacbd3ddda6ced840e4233.tar.gz |
yadif: use emms_c() instead of inline assembly for emms invocations.
-rw-r--r-- | libavfilter/vf_yadif.c | 5 |
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) |