Statistics
| Branch: | Revision:

ffmpeg / libavformat / version.h @ 4df001d7

History | View | Annotate | Download (3.32 KB)

1 50196a98 Anton Khirnov
/*
2
 * Version macros.
3
 *
4 2912e87a Mans Rullgard
 * This file is part of Libav.
5 50196a98 Anton Khirnov
 *
6 2912e87a Mans Rullgard
 * Libav is free software; you can redistribute it and/or
7 50196a98 Anton Khirnov
 * 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 2912e87a Mans Rullgard
 * Libav is distributed in the hope that it will be useful,
12 50196a98 Anton Khirnov
 * 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 2912e87a Mans Rullgard
 * License along with Libav; if not, write to the Free Software
18 50196a98 Anton Khirnov
 * 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 139f3ac4 Anton Khirnov
#define LIBAVFORMAT_VERSION_MAJOR 53
27
#define LIBAVFORMAT_VERSION_MINOR  0
28 09d171b9 Anton Khirnov
#define LIBAVFORMAT_VERSION_MICRO  0
29 50196a98 Anton Khirnov
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 451d566f Anton Khirnov
#ifndef FF_API_OLD_METADATA2
45
#define FF_API_OLD_METADATA2           (LIBAVFORMAT_VERSION_MAJOR < 54)
46
#endif
47 50196a98 Anton Khirnov
#ifndef FF_API_URL_CLASS
48
#define FF_API_URL_CLASS               (LIBAVFORMAT_VERSION_MAJOR >= 53)
49
#endif
50
#ifndef FF_API_PARSE_FRAME_PARAM
51
#define FF_API_PARSE_FRAME_PARAM       (LIBAVFORMAT_VERSION_MAJOR < 53)
52
#endif
53
#ifndef FF_API_READ_SEEK
54
#define FF_API_READ_SEEK               (LIBAVFORMAT_VERSION_MAJOR < 54)
55
#endif
56
#ifndef FF_API_LAVF_UNUSED
57
#define FF_API_LAVF_UNUSED             (LIBAVFORMAT_VERSION_MAJOR < 53)
58
#endif
59
#ifndef FF_API_PARAMETERS_CODEC_ID
60
#define FF_API_PARAMETERS_CODEC_ID     (LIBAVFORMAT_VERSION_MAJOR < 53)
61
#endif
62
#ifndef FF_API_FIRST_FORMAT
63
#define FF_API_FIRST_FORMAT            (LIBAVFORMAT_VERSION_MAJOR < 53)
64
#endif
65
#ifndef FF_API_SYMVER
66
#define FF_API_SYMVER                  (LIBAVFORMAT_VERSION_MAJOR < 53)
67
#endif
68 4efd5cf3 Anton Khirnov
#ifndef FF_API_OLD_AVIO
69 548e62c5 Anton Khirnov
#define FF_API_OLD_AVIO                (LIBAVFORMAT_VERSION_MAJOR < 54)
70 4efd5cf3 Anton Khirnov
#endif
71 b0294c80 Anton Khirnov
#ifndef FF_API_INDEX_BUILT
72
#define FF_API_INDEX_BUILT             (LIBAVFORMAT_VERSION_MAJOR < 53)
73
#endif
74 610219a5 Anton Khirnov
#ifndef FF_API_DUMP_FORMAT
75
#define FF_API_DUMP_FORMAT             (LIBAVFORMAT_VERSION_MAJOR < 54)
76
#endif
77 f6c7375a Stefano Sabatini
#ifndef FF_API_PARSE_DATE
78
#define FF_API_PARSE_DATE              (LIBAVFORMAT_VERSION_MAJOR < 54)
79
#endif
80 ab0287fc Anton Khirnov
#ifndef FF_API_FIND_INFO_TAG
81
#define FF_API_FIND_INFO_TAG           (LIBAVFORMAT_VERSION_MAJOR < 54)
82
#endif
83 c5704b2b Anton Khirnov
#ifndef FF_API_PKT_DUMP
84
#define FF_API_PKT_DUMP                (LIBAVFORMAT_VERSION_MAJOR < 54)
85
#endif
86 a9bf9d8e Anton Khirnov
#ifndef FF_API_GUESS_IMG2_CODEC
87
#define FF_API_GUESS_IMG2_CODEC        (LIBAVFORMAT_VERSION_MAJOR < 54)
88
#endif
89 c3675dfe Anton Khirnov
#ifndef FF_API_SDP_CREATE
90
#define FF_API_SDP_CREATE              (LIBAVFORMAT_VERSION_MAJOR < 54)
91
#endif
92 50196a98 Anton Khirnov
93
#endif //AVFORMAT_VERSION_H