aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-12-25 17:16:05 +0100
committerDiego Biurrun <diego@biurrun.de>2013-12-26 19:05:22 +0100
commitb83d1ee3b41cfe8357836e2582104db2f3364cb0 (patch)
tree793ba32902f6c0a807e99ecdd5c01e0b6064d531 /libavutil
parent1716b4c7b888a00380b36d3a49f725e6a243ed18 (diff)
downloadffmpeg-b83d1ee3b41cfe8357836e2582104db2f3364cb0.tar.gz
avutil: Move library version related macros to version.h
This is a more sensible place for these macros.
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/avutil.h17
-rw-r--r--libavutil/utils.c2
-rw-r--r--libavutil/version.h17
3 files changed, 18 insertions, 18 deletions
diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index 782284d046..928a0146a1 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -168,23 +168,6 @@
*/
/**
- * @defgroup version_utils Library Version Macros
- *
- * Useful to check and match library version in order to maintain
- * backward compatibility.
- *
- * @{
- */
-
-#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
-#define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c
-#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
-
-/**
- * @}
- */
-
-/**
* @addtogroup lavu_ver
* @{
*/
diff --git a/libavutil/utils.c b/libavutil/utils.c
index 9b18c97908..2bb27de2b1 100644
--- a/libavutil/utils.c
+++ b/libavutil/utils.c
@@ -17,7 +17,7 @@
*/
#include "config.h"
-#include "avutil.h"
+#include "version.h"
/**
* @file
diff --git a/libavutil/version.h b/libavutil/version.h
index 9e1f2d80ef..cf5cc2fb14 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -22,6 +22,23 @@
#include "avutil.h"
/**
+ * @defgroup version_utils Library Version Macros
+ *
+ * Useful to check and match library version in order to maintain
+ * backward compatibility.
+ *
+ * @{
+ */
+
+#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
+#define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c
+#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
+
+/**
+ * @}
+ */
+
+/**
* @file
* @ingroup lavu
* Libavutil version macros