e113a2448292de9abad046c42e358df352c5d745
[libav.git] / libavformat / version.h
1 /*
2 * Version macros.
3 *
4 * This file is part of Libav.
5 *
6 * Libav 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 * Libav 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 Libav; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21 #ifndef AVFORMAT_VERSION_H
22 #define AVFORMAT_VERSION_H
23
24 /**
25 * @file
26 * @ingroup libavf
27 * Libavformat version macros
28 */
29
30 #include "libavutil/avutil.h"
31
32 #define LIBAVFORMAT_VERSION_MAJOR 53
33 #define LIBAVFORMAT_VERSION_MINOR 19
34 #define LIBAVFORMAT_VERSION_MICRO 0
35
36 #define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
37 LIBAVFORMAT_VERSION_MINOR, \
38 LIBAVFORMAT_VERSION_MICRO)
39 #define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_MAJOR, \
40 LIBAVFORMAT_VERSION_MINOR, \
41 LIBAVFORMAT_VERSION_MICRO)
42 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
43
44 #define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
45
46 /**
47 * Those FF_API_* defines are not part of public API.
48 * They may change, break or disappear at any time.
49 */
50 #ifndef FF_API_OLD_METADATA2
51 #define FF_API_OLD_METADATA2 (LIBAVFORMAT_VERSION_MAJOR < 54)
52 #endif
53 #ifndef FF_API_READ_SEEK
54 #define FF_API_READ_SEEK (LIBAVFORMAT_VERSION_MAJOR < 54)
55 #endif
56 #ifndef FF_API_OLD_AVIO
57 #define FF_API_OLD_AVIO (LIBAVFORMAT_VERSION_MAJOR < 54)
58 #endif
59 #ifndef FF_API_DUMP_FORMAT
60 #define FF_API_DUMP_FORMAT (LIBAVFORMAT_VERSION_MAJOR < 54)
61 #endif
62 #ifndef FF_API_PARSE_DATE
63 #define FF_API_PARSE_DATE (LIBAVFORMAT_VERSION_MAJOR < 54)
64 #endif
65 #ifndef FF_API_FIND_INFO_TAG
66 #define FF_API_FIND_INFO_TAG (LIBAVFORMAT_VERSION_MAJOR < 54)
67 #endif
68 #ifndef FF_API_PKT_DUMP
69 #define FF_API_PKT_DUMP (LIBAVFORMAT_VERSION_MAJOR < 54)
70 #endif
71 #ifndef FF_API_GUESS_IMG2_CODEC
72 #define FF_API_GUESS_IMG2_CODEC (LIBAVFORMAT_VERSION_MAJOR < 54)
73 #endif
74 #ifndef FF_API_SDP_CREATE
75 #define FF_API_SDP_CREATE (LIBAVFORMAT_VERSION_MAJOR < 54)
76 #endif
77 #ifndef FF_API_FORMAT_PARAMETERS
78 #define FF_API_FORMAT_PARAMETERS (LIBAVFORMAT_VERSION_MAJOR < 54)
79 #endif
80 #ifndef FF_API_FLAG_RTP_HINT
81 #define FF_API_FLAG_RTP_HINT (LIBAVFORMAT_VERSION_MAJOR < 54)
82 #endif
83 #ifndef FF_API_AVSTREAM_QUALITY
84 #define FF_API_AVSTREAM_QUALITY (LIBAVFORMAT_VERSION_MAJOR < 54)
85 #endif
86 #ifndef FF_API_LOOP_INPUT
87 #define FF_API_LOOP_INPUT (LIBAVFORMAT_VERSION_MAJOR < 54)
88 #endif
89 #ifndef FF_API_LOOP_OUTPUT
90 #define FF_API_LOOP_OUTPUT (LIBAVFORMAT_VERSION_MAJOR < 54)
91 #endif
92 #ifndef FF_API_TIMESTAMP
93 #define FF_API_TIMESTAMP (LIBAVFORMAT_VERSION_MAJOR < 54)
94 #endif
95 #ifndef FF_API_FILESIZE
96 #define FF_API_FILESIZE (LIBAVFORMAT_VERSION_MAJOR < 54)
97 #endif
98 #ifndef FF_API_MUXRATE
99 #define FF_API_MUXRATE (LIBAVFORMAT_VERSION_MAJOR < 54)
100 #endif
101 #ifndef FF_API_RTSP_URL_OPTIONS
102 #define FF_API_RTSP_URL_OPTIONS (LIBAVFORMAT_VERSION_MAJOR < 54)
103 #endif
104 #ifndef FF_API_NEW_STREAM
105 #define FF_API_NEW_STREAM (LIBAVFORMAT_VERSION_MAJOR < 54)
106 #endif
107 #ifndef FF_API_PRELOAD
108 #define FF_API_PRELOAD (LIBAVFORMAT_VERSION_MAJOR < 54)
109 #endif
110 #ifndef FF_API_STREAM_COPY
111 #define FF_API_STREAM_COPY (LIBAVFORMAT_VERSION_MAJOR < 54)
112 #endif
113 #ifndef FF_API_SEEK_PUBLIC
114 #define FF_API_SEEK_PUBLIC (LIBAVFORMAT_VERSION_MAJOR < 54)
115 #endif
116 #ifndef FF_API_REORDER_PRIVATE
117 #define FF_API_REORDER_PRIVATE (LIBAVFORMAT_VERSION_MAJOR < 54)
118 #endif
119 #ifndef FF_API_OLD_INTERRUPT_CB
120 #define FF_API_OLD_INTERRUPT_CB (LIBAVFORMAT_VERSION_MAJOR < 54)
121 #endif
122 #ifndef FF_API_SET_PTS_INFO
123 #define FF_API_SET_PTS_INFO (LIBAVFORMAT_VERSION_MAJOR < 54)
124 #endif
125 #ifndef FF_API_CLOSE_INPUT_FILE
126 #define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 54)
127 #endif
128
129 #endif /* AVFORMAT_VERSION_H */