lavf: deprecate av_read_packet().
[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
eca06cbe
AK
24/**
25 * @file
26 * @ingroup libavf
27 * Libavformat version macros
28 */
29
50196a98
AK
30#include "libavutil/avutil.h"
31
a17479df 32#define LIBAVFORMAT_VERSION_MAJOR 54
32253747 33#define LIBAVFORMAT_VERSION_MINOR 2
569129a6 34#define LIBAVFORMAT_VERSION_MICRO 0
50196a98
AK
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 */
52660454 50#ifndef FF_API_CLOSE_INPUT_FILE
dc7ad30f 51#define FF_API_CLOSE_INPUT_FILE (LIBAVFORMAT_VERSION_MAJOR < 55)
52660454 52#endif
8bdab32f
MS
53#ifndef FF_API_APPLEHTTP_PROTO
54#define FF_API_APPLEHTTP_PROTO (LIBAVFORMAT_VERSION_MAJOR < 55)
55#endif
3c90cc2e
AK
56#ifndef FF_API_READ_PACKET
57#define FF_API_READ_PACKET (LIBAVFORMAT_VERSION_MAJOR < 55)
58#endif
50196a98 59
153382e1 60#endif /* AVFORMAT_VERSION_H */