Move internal.h #include to the end of the file so that it is after
authorDiego Biurrun <diego@biurrun.de>
Sun, 25 Jan 2009 14:00:21 +0000 (14:00 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 25 Jan 2009 14:00:21 +0000 (14:00 +0000)
the declaration of av_log2_16bit, which it uses.

Originally committed as revision 16772 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/common.h

index f701d23..7c8c66b 100644 (file)
 #endif
 #endif
 
 #endif
 #endif
 
-#ifdef HAVE_AV_CONFIG_H
-#    include "internal.h"
-#endif /* HAVE_AV_CONFIG_H */
-
 #ifndef attribute_deprecated
 #if AV_GCC_VERSION_AT_LEAST(3,1)
 #    define attribute_deprecated __attribute__((deprecated))
 #ifndef attribute_deprecated
 #if AV_GCC_VERSION_AT_LEAST(3,1)
 #    define attribute_deprecated __attribute__((deprecated))
@@ -268,4 +264,8 @@ static inline av_const float av_clipf(float a, float amin, float amax)
         }\
     }
 
         }\
     }
 
+#ifdef HAVE_AV_CONFIG_H
+#    include "internal.h"
+#endif /* HAVE_AV_CONFIG_H */
+
 #endif /* AVUTIL_COMMON_H */
 #endif /* AVUTIL_COMMON_H */