diff options
author | Måns Rullgård <mans@mansr.com> | 2008-02-19 22:50:28 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-02-19 22:50:28 +0000 |
commit | e97ac1e6f5dc3a8ba2e7dc7519a6f8fb356b8a4d (patch) | |
tree | 91704075078c36e174778d909394a3b1f3ce42f5 /libavcodec | |
parent | cea9642014e833799eca40db03530ed0002f99d8 (diff) | |
download | ffmpeg-e97ac1e6f5dc3a8ba2e7dc7519a6f8fb356b8a4d.tar.gz |
Clean up lib* version definitions
Updating version numbers now requires changing only one place.
Originally committed as revision 12154 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 1fc0b233e3..8870fded3f 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -30,8 +30,10 @@ #include "avutil.h" #include <sys/types.h> /* size_t */ -#define LIBAVCODEC_VERSION_INT ((51<<16)+(50<<8)+1) -#define LIBAVCODEC_VERSION 51.50.1 +#define LIBAVCODEC_VERSION_TRIPLET 51,50,1 + +#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_TRIPLET) +#define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_TRIPLET) #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) |