diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-09-11 22:51:05 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-09-11 22:51:05 +0000 |
commit | 7b7d86f1208a25c00e7bb8f136720745a4f80233 (patch) | |
tree | 971c697e60f2c91db08f884b009af63eade5b307 /libavcodec | |
parent | d35ff76b794281956cfb75430abee75227fd0378 (diff) | |
download | ffmpeg-7b7d86f1208a25c00e7bb8f136720745a4f80233.tar.gz |
simplified version handling
Originally committed as revision 2264 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 4088c978c0..c193117deb 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -13,12 +13,16 @@ extern "C" { #include "common.h" -#define LIBAVCODEC_VERSION_INT 0x000408 -#define LIBAVCODEC_VERSION "0.4.8" +#define FFMPEG_VERSION_INT 0x000408 +#define FFMPEG_VERSION "0.4.8" #define LIBAVCODEC_BUILD 4679 -#define LIBAVCODEC_BUILD_STR "4679" -#define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR +#define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT +#define LIBAVCODEC_VERSION FFMPEG_VERSION + +#define AV_STRINGIFY(s) AV_TOSTRING(s) +#define AV_TOSTRING(s) #s +#define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" AV_STRINGIFY(LIBAVCODEC_BUILD) enum CodecID { CODEC_ID_NONE, |