lavf: postpone removal of deprecated avio functions
[libav.git] / libavformat / version.h
CommitLineData
50196a98
AK
1/*
2 * Version macros.
3 *
2912e87a 4 * This file is part of Libav.
50196a98 5 *
2912e87a 6 * Libav is free software; you can redistribute it and/or
50196a98
AK
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 *
2912e87a 11 * Libav is distributed in the hope that it will be useful,
50196a98
AK
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
2912e87a 17 * License along with Libav; if not, write to the Free Software
50196a98
AK
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#include "libavutil/avutil.h"
25
26#define LIBAVFORMAT_VERSION_MAJOR 52
86a89ae3 27#define LIBAVFORMAT_VERSION_MINOR 107
09d171b9 28#define LIBAVFORMAT_VERSION_MICRO 0
50196a98
AK
29
30#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
31 LIBAVFORMAT_VERSION_MINOR, \
32 LIBAVFORMAT_VERSION_MICRO)
33#define LIBAVFORMAT_VERSION AV_VERSION(LIBAVFORMAT_VERSION_MAJOR, \
34 LIBAVFORMAT_VERSION_MINOR, \
35 LIBAVFORMAT_VERSION_MICRO)
36#define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT
37
38#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
39
40/**
41 * Those FF_API_* defines are not part of public API.
42 * They may change, break or disappear at any time.
43 */
44#ifndef FF_API_MAX_STREAMS
45#define FF_API_MAX_STREAMS (LIBAVFORMAT_VERSION_MAJOR < 53)
46#endif
47#ifndef FF_API_OLD_METADATA
48#define FF_API_OLD_METADATA (LIBAVFORMAT_VERSION_MAJOR < 53)
49#endif
50#ifndef FF_API_URL_CLASS
51#define FF_API_URL_CLASS (LIBAVFORMAT_VERSION_MAJOR >= 53)
52#endif
53#ifndef FF_API_URL_RESETBUF
54#define FF_API_URL_RESETBUF (LIBAVFORMAT_VERSION_MAJOR < 53)
55#endif
56#ifndef FF_API_REGISTER_PROTOCOL
57#define FF_API_REGISTER_PROTOCOL (LIBAVFORMAT_VERSION_MAJOR < 53)
58#endif
59#ifndef FF_API_GUESS_FORMAT
60#define FF_API_GUESS_FORMAT (LIBAVFORMAT_VERSION_MAJOR < 53)
61#endif
62#ifndef FF_API_UDP_GET_FILE
63#define FF_API_UDP_GET_FILE (LIBAVFORMAT_VERSION_MAJOR < 53)
64#endif
65#ifndef FF_API_URL_SPLIT
66#define FF_API_URL_SPLIT (LIBAVFORMAT_VERSION_MAJOR < 53)
67#endif
68#ifndef FF_API_ALLOC_FORMAT_CONTEXT
69#define FF_API_ALLOC_FORMAT_CONTEXT (LIBAVFORMAT_VERSION_MAJOR < 53)
70#endif
71#ifndef FF_API_PARSE_FRAME_PARAM
72#define FF_API_PARSE_FRAME_PARAM (LIBAVFORMAT_VERSION_MAJOR < 53)
73#endif
74#ifndef FF_API_READ_SEEK
75#define FF_API_READ_SEEK (LIBAVFORMAT_VERSION_MAJOR < 54)
76#endif
77#ifndef FF_API_LAVF_UNUSED
78#define FF_API_LAVF_UNUSED (LIBAVFORMAT_VERSION_MAJOR < 53)
79#endif
80#ifndef FF_API_PARAMETERS_CODEC_ID
81#define FF_API_PARAMETERS_CODEC_ID (LIBAVFORMAT_VERSION_MAJOR < 53)
82#endif
83#ifndef FF_API_FIRST_FORMAT
84#define FF_API_FIRST_FORMAT (LIBAVFORMAT_VERSION_MAJOR < 53)
85#endif
86#ifndef FF_API_SYMVER
87#define FF_API_SYMVER (LIBAVFORMAT_VERSION_MAJOR < 53)
88#endif
4efd5cf3 89#ifndef FF_API_OLD_AVIO
548e62c5 90#define FF_API_OLD_AVIO (LIBAVFORMAT_VERSION_MAJOR < 54)
4efd5cf3 91#endif
b0294c80
AK
92#ifndef FF_API_INDEX_BUILT
93#define FF_API_INDEX_BUILT (LIBAVFORMAT_VERSION_MAJOR < 53)
94#endif
610219a5
AK
95#ifndef FF_API_DUMP_FORMAT
96#define FF_API_DUMP_FORMAT (LIBAVFORMAT_VERSION_MAJOR < 54)
97#endif
f6c7375a
SS
98#ifndef FF_API_PARSE_DATE
99#define FF_API_PARSE_DATE (LIBAVFORMAT_VERSION_MAJOR < 54)
100#endif
ab0287fc
AK
101#ifndef FF_API_FIND_INFO_TAG
102#define FF_API_FIND_INFO_TAG (LIBAVFORMAT_VERSION_MAJOR < 54)
103#endif
c5704b2b
AK
104#ifndef FF_API_PKT_DUMP
105#define FF_API_PKT_DUMP (LIBAVFORMAT_VERSION_MAJOR < 54)
106#endif
a9bf9d8e
AK
107#ifndef FF_API_GUESS_IMG2_CODEC
108#define FF_API_GUESS_IMG2_CODEC (LIBAVFORMAT_VERSION_MAJOR < 54)
109#endif
c3675dfe
AK
110#ifndef FF_API_SDP_CREATE
111#define FF_API_SDP_CREATE (LIBAVFORMAT_VERSION_MAJOR < 54)
112#endif
50196a98
AK
113
114#endif //AVFORMAT_VERSION_H