[FFmpeg-devel] [PATCH 1/3] vf_idet: Fix unprotected inline asm

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Sep 7 16:48:27 CEST 2012


Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
---
 libavfilter/vf_idet.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c
index 938f4a0..fdeeb51 100644
--- a/libavfilter/vf_idet.c
+++ b/libavfilter/vf_idet.c
@@ -118,7 +118,7 @@ static void filter(AVFilterContext *ctx)
             delta          += idet->filter_line(cur-refs,  cur, cur+refs, w);
         }
     }
-#if HAVE_MMX
+#if HAVE_MMX_INLINE
     __asm__ volatile("emms \n\t" : : : "memory");
 #endif
 
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list