avutil: Move library version related macros to version.h

This is a more sensible place for these macros.
This commit is contained in:
Diego Biurrun
2013-12-25 17:16:05 +01:00
parent 1716b4c7b8
commit b83d1ee3b4
9 changed files with 26 additions and 22 deletions

View File

@ -163,23 +163,6 @@
#define AV_PRAGMA(s) _Pragma(#s)
/**
* @}
*/
/**
* @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)
/**
* @}
*/