Mercurial > libavcodec.hg
comparison avcodec.h @ 6417:82b05580c400 libavcodec
less preprocessor magic in version number macros
author | mru |
---|---|
date | Tue, 26 Feb 2008 20:37:59 +0000 |
parents | 7f9e2b5893fc |
children | e82ca9167c1f |
comparison
equal
deleted
inserted
replaced
6416:9cd577ad9c0b | 6417:82b05580c400 |
---|---|
28 | 28 |
29 | 29 |
30 #include "libavutil/avutil.h" | 30 #include "libavutil/avutil.h" |
31 #include <sys/types.h> /* size_t */ | 31 #include <sys/types.h> /* size_t */ |
32 | 32 |
33 #define LIBAVCODEC_VERSION_TRIPLET 51,50,1 | 33 #define LIBAVCODEC_VERSION_MAJOR 51 |
34 | 34 #define LIBAVCODEC_VERSION_MINOR 50 |
35 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_TRIPLET) | 35 #define LIBAVCODEC_VERSION_MICRO 1 |
36 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_TRIPLET) | 36 |
37 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | |
38 LIBAVCODEC_VERSION_MINOR, \ | |
39 LIBAVCODEC_VERSION_MICRO) | |
40 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \ | |
41 LIBAVCODEC_VERSION_MINOR, \ | |
42 LIBAVCODEC_VERSION_MICRO) | |
37 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT | 43 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT |
38 | 44 |
39 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) | 45 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) |
40 | 46 |
41 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000) | 47 #define AV_NOPTS_VALUE INT64_C(0x8000000000000000) |