3 * This file is part of FFmpeg.
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.
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.
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
20 #ifndef AVCODEC_VERSION_H
21 #define AVCODEC_VERSION_H
26 * Libavcodec version macros.
29 #define LIBAVCODEC_VERSION_MAJOR 54
30 #define LIBAVCODEC_VERSION_MINOR 29
31 #define LIBAVCODEC_VERSION_MICRO 100
33 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
34 LIBAVCODEC_VERSION_MINOR, \
35 LIBAVCODEC_VERSION_MICRO)
36 #define LIBAVCODEC_VERSION AV_VERSION(LIBAVCODEC_VERSION_MAJOR, \
37 LIBAVCODEC_VERSION_MINOR, \
38 LIBAVCODEC_VERSION_MICRO)
39 #define LIBAVCODEC_BUILD LIBAVCODEC_VERSION_INT
41 #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
44 * Those FF_API_* defines are not part of public API.
45 * They may change, break or disappear at any time.
47 #ifndef FF_API_REQUEST_CHANNELS
48 #define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
50 #ifndef FF_API_ALLOC_CONTEXT
51 #define FF_API_ALLOC_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 55)
53 #ifndef FF_API_AVCODEC_OPEN
54 #define FF_API_AVCODEC_OPEN (LIBAVCODEC_VERSION_MAJOR < 55)
56 #ifndef FF_API_OLD_DECODE_AUDIO
57 #define FF_API_OLD_DECODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
59 #ifndef FF_API_OLD_TIMECODE
60 #define FF_API_OLD_TIMECODE (LIBAVCODEC_VERSION_MAJOR < 55)
63 #ifndef FF_API_OLD_ENCODE_AUDIO
64 #define FF_API_OLD_ENCODE_AUDIO (LIBAVCODEC_VERSION_MAJOR < 55)
66 #ifndef FF_API_OLD_ENCODE_VIDEO
67 #define FF_API_OLD_ENCODE_VIDEO (LIBAVCODEC_VERSION_MAJOR < 55)
69 #ifndef FF_API_MPV_GLOBAL_OPTS
70 #define FF_API_MPV_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 55)
72 #ifndef FF_API_COLOR_TABLE_ID
73 #define FF_API_COLOR_TABLE_ID (LIBAVCODEC_VERSION_MAJOR < 55)
75 #ifndef FF_API_INTER_THRESHOLD
76 #define FF_API_INTER_THRESHOLD (LIBAVCODEC_VERSION_MAJOR < 55)
79 #define FF_API_SUB_ID (LIBAVCODEC_VERSION_MAJOR < 55)
81 #ifndef FF_API_DSP_MASK
82 #define FF_API_DSP_MASK (LIBAVCODEC_VERSION_MAJOR < 55)
85 #endif /* AVCODEC_VERSION_H */