FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
version.h
Go to the documentation of this file.
1 /*
2  * This file is part of Libav.
3  *
4  * Libav is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * Libav is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with Libav; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
19 #ifndef AVRESAMPLE_VERSION_H
20 #define AVRESAMPLE_VERSION_H
21 
22 /**
23  * @file
24  * @ingroup lavr
25  * Libavresample version macros.
26  */
27 
28 #define LIBAVRESAMPLE_VERSION_MAJOR 1
29 #define LIBAVRESAMPLE_VERSION_MINOR 1
30 #define LIBAVRESAMPLE_VERSION_MICRO 0
31 
32 #define LIBAVRESAMPLE_VERSION_INT AV_VERSION_INT(LIBAVRESAMPLE_VERSION_MAJOR, \
33  LIBAVRESAMPLE_VERSION_MINOR, \
34  LIBAVRESAMPLE_VERSION_MICRO)
35 #define LIBAVRESAMPLE_VERSION AV_VERSION(LIBAVRESAMPLE_VERSION_MAJOR, \
36  LIBAVRESAMPLE_VERSION_MINOR, \
37  LIBAVRESAMPLE_VERSION_MICRO)
38 #define LIBAVRESAMPLE_BUILD LIBAVRESAMPLE_VERSION_INT
39 
40 #define LIBAVRESAMPLE_IDENT "Lavr" AV_STRINGIFY(LIBAVRESAMPLE_VERSION)
41 
42 /**
43  * FF_API_* defines may be placed below to indicate public API that will be
44  * dropped at a future version bump. The defines themselves are not part of
45  * the public API and may change, break or disappear at any time.
46  */
47 
48 #ifndef FF_API_RESAMPLE_CLOSE_OPEN
49 #define FF_API_RESAMPLE_CLOSE_OPEN (LIBAVRESAMPLE_VERSION_MAJOR < 2)
50 #endif
51 
52 #endif /* AVRESAMPLE_VERSION_H */