From 6b8b7258e428608a53fd5e516a4781569b18480a Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Sun, 25 Jan 2009 14:00:21 +0000
Subject: [PATCH] Move internal.h #include to the end of the file so that it is
 after the declaration of av_log2_16bit, which it uses.

Originally committed as revision 16772 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavutil/common.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavutil/common.h b/libavutil/common.h
index f701d233ca9..7c8c66b0c6b 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -83,10 +83,6 @@
 #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))
@@ -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 */
-- 
GitLab