[Ffmpeg-devel] [PATCH] Avoid a warning in libavutil/common.h

Christophe Mutricy xtophe
Sat Jan 13 00:49:56 CET 2007


Hello,

Attached a one-liner patch to avoid a warning "HAVE_CMOV not defined"
when compiling

-- 
Xtophe
-------------- next part --------------
Index: libavutil/common.h
===================================================================
--- libavutil/common.h	(revision 7439)
+++ libavutil/common.h	(working copy)
@@ -120,7 +120,7 @@
 /* median of 3 */
 static inline int mid_pred(int a, int b, int c)
 {
-#if HAVE_CMOV
+#ifdef HAVE_CMOV
     int i=b;
     asm volatile(
         "cmp    %2, %1 \n\t"



More information about the ffmpeg-devel mailing list