[SCM] libav/experimental: Avoid "HAVE_CMOV not defined" warning. patch by Christophe Mutricy, xtophe nxtelevision com

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:54:44 UTC 2013


The following commit has been merged in the experimental branch:
commit d0b456ba1e9078894e9540fef8cd7ccc17715168
Author: Christophe Mutricy <xtophe at nxtelevision.com>
Date:   Sat Jan 13 04:01:35 2007 +0000

    Avoid "HAVE_CMOV not defined" warning.
    patch by Christophe Mutricy, xtophe nxtelevision com
    
    Originally committed as revision 7443 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavutil/common.h b/libavutil/common.h
index ca6147a..4ca5353 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -120,7 +120,7 @@ static inline int av_log2_16bit(unsigned int v)
 /* 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"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list