[Ffmpeg-cvslog] r7254 - trunk/libavutil/common.h

mru subversion
Thu Dec 7 21:06:11 CET 2006


Author: mru
Date: Thu Dec  7 21:06:11 2006
New Revision: 7254

Modified:
   trunk/libavutil/common.h

Log:
merge #ifdef HAVE_AV_CONFIG_H sections


Modified: trunk/libavutil/common.h
==============================================================================
--- trunk/libavutil/common.h	(original)
+++ trunk/libavutil/common.h	Thu Dec  7 21:06:11 2006
@@ -26,6 +26,8 @@
 #ifndef COMMON_H
 #define COMMON_H
 
+#include <inttypes.h>
+
 #ifdef HAVE_AV_CONFIG_H
 /* only include the following when compiling package */
 #    include "config.h"
@@ -41,6 +43,7 @@
 #        include "berrno.h"
 #    endif
 #    include <math.h>
+#    include "internal.h"
 #endif /* HAVE_AV_CONFIG_H */
 
 #ifndef attribute_deprecated
@@ -51,18 +54,11 @@
 #endif
 #endif
 
-#   include <inttypes.h>
-
 #ifndef INT64_C
 #define INT64_C(c)     (c ## LL)
 #define UINT64_C(c)    (c ## ULL)
 #endif
 
-#ifdef HAVE_AV_CONFIG_H
-/* only include the following when compiling package */
-#    include "internal.h"
-#endif
-
 //rounded divison & shift
 #define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b))
 /* assume b>0 */




More information about the ffmpeg-cvslog mailing list