FFmpeg
version.h
Go to the documentation of this file.
1 /*
2  * This file is part of FFmpeg.
3  *
4  * FFmpeg is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * FFmpeg is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with FFmpeg; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef AVCODEC_VERSION_H
20 #define AVCODEC_VERSION_H
21 
22 /**
23  * @file
24  * @ingroup libavc
25  * Libavcodec version macros.
26  */
27 
28 #include "libavutil/version.h"
29 
30 #define LIBAVCODEC_VERSION_MAJOR 59
31 #define LIBAVCODEC_VERSION_MINOR 18
32 #define LIBAVCODEC_VERSION_MICRO 100
33 
34 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
35  LIBAVCODEC_VERSION_MINOR, \
36  LIBAVCODEC_VERSION_MICRO)
37 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
38  LIBAVCODEC_VERSION_MINOR, \
39  LIBAVCODEC_VERSION_MICRO)
40 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
41 
42 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
43 
44 /**
45  * FF_API_* defines may be placed below to indicate public API that will be
46  * dropped at a future version bump. The defines themselves are not part of
47  * the public API and may change, break or disappear at any time.
48  *
49  * @note, when bumping the major version it is recommended to manually
50  * disable each FF_API_* in its own commit instead of disabling them all
51  * at once through the bump. This improves the git bisect-ability of the change.
52  */
53 
54 #define FF_API_OPENH264_SLICE_MODE (LIBAVCODEC_VERSION_MAJOR < 60)
55 #define FF_API_OPENH264_CABAC (LIBAVCODEC_VERSION_MAJOR < 60)
56 #define FF_API_UNUSED_CODEC_CAPS (LIBAVCODEC_VERSION_MAJOR < 60)
57 #define FF_API_THREAD_SAFE_CALLBACKS (LIBAVCODEC_VERSION_MAJOR < 60)
58 #define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 60)
59 #define FF_API_GET_FRAME_CLASS (LIBAVCODEC_VERSION_MAJOR < 60)
60 #define FF_API_AUTO_THREADS (LIBAVCODEC_VERSION_MAJOR < 60)
61 #define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 60)
62 #define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 60)
63 #define FF_API_MPEGVIDEO_OPTS (LIBAVCODEC_VERSION_MAJOR < 60)
64 #define FF_API_FLAG_TRUNCATED (LIBAVCODEC_VERSION_MAJOR < 60)
65 #define FF_API_SUB_TEXT_FORMAT (LIBAVCODEC_VERSION_MAJOR < 60)
66 
67 #endif /* AVCODEC_VERSION_H */
version.h