changeset 1461:918f1772e7d2 libavcodec

simplified version handling
author bellard
date Thu, 11 Sep 2003 22:51:05 +0000
parents 4d2098e8c875
children eabd6b8f83ed
files avcodec.h
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
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,