[FFmpeg-cvslog] yadif: use emms_c() instead of inline assembly for emms invocations.

Ronald S. Bultje git at videolan.org
Sun Jul 22 22:22:50 CEST 2012


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sat Jul 21 17:04:06 2012 -0700| [731fa116b4d9ebe53fbacbd3ddda6ced840e4233] | committer: Ronald S. Bultje

yadif: use emms_c() instead of inline assembly for emms invocations.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=731fa116b4d9ebe53fbacbd3ddda6ced840e4233
---

 libavfilter/vf_yadif.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
index 40cfdf5..02feeb2 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)



More information about the ffmpeg-cvslog mailing list