Mercurial > libavcodec.hg
diff avcodec.h @ 1461:918f1772e7d2 libavcodec
simplified version handling
author | bellard |
---|---|
date | Thu, 11 Sep 2003 22:51:05 +0000 |
parents | 40b69d238beb |
children | eabd6b8f83ed |
line wrap: on
line diff
--- a/avcodec.h Thu Sep 11 06:16:39 2003 +0000 +++ b/avcodec.h Thu Sep 11 22:51:05 2003 +0000 @@ -13,12 +13,16 @@ #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_VERSION_INT FFMPEG_VERSION_INT +#define LIBAVCODEC_VERSION FFMPEG_VERSION -#define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR +#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,