summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-09-11 22:51:05 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-09-11 22:51:05 +0000
commit7b7d86f1208a25c00e7bb8f136720745a4f80233 (patch)
tree971c697e60f2c91db08f884b009af63eade5b307 /libavcodec
parentd35ff76b794281956cfb75430abee75227fd0378 (diff)
downloadffmpeg-streaming-7b7d86f1208a25c00e7bb8f136720745a4f80233.zip
ffmpeg-streaming-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.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 4088c97..c193117 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,
OpenPOWER on IntegriCloud