comparison avcodec.h @ 1461:918f1772e7d2 libavcodec

simplified version handling
author bellard
date Thu, 11 Sep 2003 22:51:05 +0000
parents 40b69d238beb
children eabd6b8f83ed
comparison
equal deleted inserted replaced
1460:4d2098e8c875 1461:918f1772e7d2
11 extern "C" { 11 extern "C" {
12 #endif 12 #endif
13 13
14 #include "common.h" 14 #include "common.h"
15 15
16 #define LIBAVCODEC_VERSION_INT 0x000408 16 #define FFMPEG_VERSION_INT 0x000408
17 #define LIBAVCODEC_VERSION "0.4.8" 17 #define FFMPEG_VERSION "0.4.8"
18 #define LIBAVCODEC_BUILD 4679 18 #define LIBAVCODEC_BUILD 4679
19 #define LIBAVCODEC_BUILD_STR "4679" 19
20 20 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
21 #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR 21 #define LIBAVCODEC_VERSION FFMPEG_VERSION
22
23 #define AV_STRINGIFY(s) AV_TOSTRING(s)
24 #define AV_TOSTRING(s) #s
25 #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" AV_STRINGIFY(LIBAVCODEC_BUILD)
22 26
23 enum CodecID { 27 enum CodecID {
24 CODEC_ID_NONE, 28 CODEC_ID_NONE,
25 CODEC_ID_MPEG1VIDEO, 29 CODEC_ID_MPEG1VIDEO,
26 CODEC_ID_MPEG2VIDEO, /* prefered ID for MPEG Video 1 or 2 decoding */ 30 CODEC_ID_MPEG2VIDEO, /* prefered ID for MPEG Video 1 or 2 decoding */