]> git.sesse.net Git - ffmpeg/blob - libavutil/version.h
Merge commit 'f154ef1ae5b03f288dd8c025dab1884b4cb20c1a'
[ffmpeg] / libavutil / version.h
1 /*
2  * copyright (c) 2003 Fabrice Bellard
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * FFmpeg is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20
21 #ifndef AVUTIL_VERSION_H
22 #define AVUTIL_VERSION_H
23
24 #include "avutil.h"
25
26 /**
27  * @file
28  * @ingroup lavu
29  * Libavutil version macros
30  */
31
32 /**
33  * @defgroup lavu_ver Version and Build diagnostics
34  *
35  * Macros and function useful to check at compiletime and at runtime
36  * which version of libavutil is in use.
37  *
38  * @{
39  */
40
41 #define LIBAVUTIL_VERSION_MAJOR 51
42 #define LIBAVUTIL_VERSION_MINOR 67
43 #define LIBAVUTIL_VERSION_MICRO 100
44
45 #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
46                                                LIBAVUTIL_VERSION_MINOR, \
47                                                LIBAVUTIL_VERSION_MICRO)
48 #define LIBAVUTIL_VERSION       AV_VERSION(LIBAVUTIL_VERSION_MAJOR,     \
49                                            LIBAVUTIL_VERSION_MINOR,     \
50                                            LIBAVUTIL_VERSION_MICRO)
51 #define LIBAVUTIL_BUILD         LIBAVUTIL_VERSION_INT
52
53 #define LIBAVUTIL_IDENT         "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
54
55 /**
56  * @}
57  *
58  * @defgroup depr_guards Deprecation guards
59  * FF_API_* defines may be placed below to indicate public API that will be
60  * dropped at a future version bump. The defines themselves are not part of
61  * the public API and may change, break or disappear at any time.
62  *
63  * @{
64  */
65
66 #ifndef FF_API_OLD_EVAL_NAMES
67 #define FF_API_OLD_EVAL_NAMES           (LIBAVUTIL_VERSION_MAJOR < 52)
68 #endif
69 #ifndef FF_API_GET_BITS_PER_SAMPLE_FMT
70 #define FF_API_GET_BITS_PER_SAMPLE_FMT (LIBAVUTIL_VERSION_MAJOR < 52)
71 #endif
72 #ifndef FF_API_FIND_OPT
73 #define FF_API_FIND_OPT                 (LIBAVUTIL_VERSION_MAJOR < 52)
74 #endif
75 #ifndef FF_API_AV_FIFO_PEEK
76 #define FF_API_AV_FIFO_PEEK             (LIBAVUTIL_VERSION_MAJOR < 52)
77 #endif
78 #ifndef FF_API_OLD_AVOPTIONS
79 #define FF_API_OLD_AVOPTIONS            (LIBAVUTIL_VERSION_MAJOR < 52)
80 #endif
81 #ifndef FF_API_OLD_TC_ADJUST_FRAMENUM
82 #define FF_API_OLD_TC_ADJUST_FRAMENUM   (LIBAVUTIL_VERSION_MAJOR < 52)
83 #endif
84
85 /**
86  * @}
87  */
88
89 #endif /* AVUTIL_VERSION_H */
90