FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
version.h
Go to the documentation of this file.
1 /*
2  *
3  * This file is part of FFmpeg.
4  *
5  * FFmpeg is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * FFmpeg is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with FFmpeg; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #ifndef AVCODEC_VERSION_H
21 #define AVCODEC_VERSION_H
22 
23 /**
24  * @file
25  * @ingroup libavc
26  * Libavcodec version macros.
27  */
28 
29 #include "libavutil/avutil.h"
30 
31 #define LIBAVCODEC_VERSION_MAJOR 55
32 #define LIBAVCODEC_VERSION_MINOR 39
33 #define LIBAVCODEC_VERSION_MICRO 101
34 
35 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
36  LIBAVCODEC_VERSION_MINOR, \
37  LIBAVCODEC_VERSION_MICRO)
38 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
39  LIBAVCODEC_VERSION_MINOR, \
40  LIBAVCODEC_VERSION_MICRO)
41 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
42 
43 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
44 
45 /**
46  * FF_API_* defines may be placed below to indicate public API that will be
47  * dropped at a future version bump. The defines themselves are not part of
48  * the public API and may change, break or disappear at any time.
49  */
50 
51 #ifndef FF_API_REQUEST_CHANNELS
52 #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 56)
53 #endif
54 #ifndef FF_API_ALLOC_CONTEXT
55 #define FF_API_ALLOC_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 55)
56 #endif
57 #ifndef FF_API_AVCODEC_OPEN
58 #define FF_API_AVCODEC_OPEN (LIBAVCODEC_VERSION_MAJOR < 55)
59 #endif
60 #ifndef FF_API_OLD_DECODE_AUDIO
61 #define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 56)
62 #endif
63 #ifndef FF_API_OLD_TIMECODE
64 #define FF_API_OLD_TIMECODE (LIBAVCODEC_VERSION_MAJOR < 55)
65 #endif
66 
67 #ifndef FF_API_OLD_ENCODE_AUDIO
68 #define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 56)
69 #endif
70 #ifndef FF_API_OLD_ENCODE_VIDEO
71 #define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 56)
72 #endif
73 #ifndef FF_API_CODEC_ID
74 #define FF_API_CODEC_ID (LIBAVCODEC_VERSION_MAJOR < 56)
75 #endif
76 #ifndef FF_API_AVCODEC_RESAMPLE
77 #define FF_API_AVCODEC_RESAMPLE (LIBAVCODEC_VERSION_MAJOR < 56)
78 #endif
79 #ifndef FF_API_DEINTERLACE
80 #define FF_API_DEINTERLACE (LIBAVCODEC_VERSION_MAJOR < 56)
81 #endif
82 #ifndef FF_API_DESTRUCT_PACKET
83 #define FF_API_DESTRUCT_PACKET (LIBAVCODEC_VERSION_MAJOR < 56)
84 #endif
85 #ifndef FF_API_GET_BUFFER
86 #define FF_API_GET_BUFFER (LIBAVCODEC_VERSION_MAJOR < 56)
87 #endif
88 #ifndef FF_API_MISSING_SAMPLE
89 #define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 56)
90 #endif
91 #ifndef FF_API_LOWRES
92 #define FF_API_LOWRES (LIBAVCODEC_VERSION_MAJOR < 56)
93 #endif
94 #ifndef FF_API_CAP_VDPAU
95 #define FF_API_CAP_VDPAU (LIBAVCODEC_VERSION_MAJOR < 56)
96 #endif
97 #ifndef FF_API_BUFS_VDPAU
98 #define FF_API_BUFS_VDPAU (LIBAVCODEC_VERSION_MAJOR < 56)
99 #endif
100 #ifndef FF_API_VOXWARE
101 #define FF_API_VOXWARE (LIBAVCODEC_VERSION_MAJOR < 56)
102 #endif
103 
104 #endif /* AVCODEC_VERSION_H */