2 * copyright (c) 2003 Fabrice Bellard
4 * This file is part of FFmpeg.
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.
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.
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
21 #ifndef AVUTIL_VERSION_H
22 #define AVUTIL_VERSION_H
29 * Libavutil version macros
33 * @defgroup lavu_ver Version and Build diagnostics
35 * Macros and function useful to check at compiletime and at runtime
36 * which version of libavutil is in use.
41 #define LIBAVUTIL_VERSION_MAJOR 51
42 #define LIBAVUTIL_VERSION_MINOR 74
43 #define LIBAVUTIL_VERSION_MICRO 100
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
53 #define LIBAVUTIL_IDENT "Lavu" AV_STRINGIFY(LIBAVUTIL_VERSION)
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.
66 #ifndef FF_API_OLD_EVAL_NAMES
67 #define FF_API_OLD_EVAL_NAMES (LIBAVUTIL_VERSION_MAJOR < 52)
69 #ifndef FF_API_GET_BITS_PER_SAMPLE_FMT
70 #define FF_API_GET_BITS_PER_SAMPLE_FMT (LIBAVUTIL_VERSION_MAJOR < 52)
72 #ifndef FF_API_FIND_OPT
73 #define FF_API_FIND_OPT (LIBAVUTIL_VERSION_MAJOR < 52)
75 #ifndef FF_API_AV_FIFO_PEEK
76 #define FF_API_AV_FIFO_PEEK (LIBAVUTIL_VERSION_MAJOR < 52)
78 #ifndef FF_API_OLD_AVOPTIONS
79 #define FF_API_OLD_AVOPTIONS (LIBAVUTIL_VERSION_MAJOR < 52)
81 #ifndef FF_API_OLD_TC_ADJUST_FRAMENUM
82 #define FF_API_OLD_TC_ADJUST_FRAMENUM (LIBAVUTIL_VERSION_MAJOR < 52)
84 #ifndef FF_API_PIX_FMT
85 #define FF_API_PIX_FMT (LIBAVUTIL_VERSION_MAJOR < 52)
92 #endif /* AVUTIL_VERSION_H */