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 /libavformat/avformat.h | |
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 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index b28014895c..06396eebff 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -21,8 +21,10 @@ #ifndef FFMPEG_AVFORMAT_H #define FFMPEG_AVFORMAT_H -#define LIBAVFORMAT_VERSION_INT ((52<<16)+(7<<8)+0) -#define LIBAVFORMAT_VERSION 52.7.0 +#define LIBAVFORMAT_VERSION_TRIPLET 52,7,0 + +#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_TRIPLET) +#define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_TRIPLET) #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION) |