Commit | Line | Data |
---|---|---|
2ba45a60 DM |
1 | /* |
2 | * This file is part of FFmpeg. | |
3 | * | |
4 | * FFmpeg 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 | * FFmpeg 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 FFmpeg; 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 | #include "libavutil/version.h" | |
29 | ||
30 | #define LIBAVRESAMPLE_VERSION_MAJOR 2 | |
31 | #define LIBAVRESAMPLE_VERSION_MINOR 1 | |
32 | #define LIBAVRESAMPLE_VERSION_MICRO 0 | |
33 | ||
34 | #define LIBAVRESAMPLE_VERSION_INT AV_VERSION_INT(LIBAVRESAMPLE_VERSION_MAJOR, \ | |
35 | LIBAVRESAMPLE_VERSION_MINOR, \ | |
36 | LIBAVRESAMPLE_VERSION_MICRO) | |
37 | #define LIBAVRESAMPLE_VERSION AV_VERSION(LIBAVRESAMPLE_VERSION_MAJOR, \ | |
38 | LIBAVRESAMPLE_VERSION_MINOR, \ | |
39 | LIBAVRESAMPLE_VERSION_MICRO) | |
40 | #define LIBAVRESAMPLE_BUILD LIBAVRESAMPLE_VERSION_INT | |
41 | ||
42 | #define LIBAVRESAMPLE_IDENT "Lavr" AV_STRINGIFY(LIBAVRESAMPLE_VERSION) | |
43 | ||
44 | /** | |
45 | * FF_API_* defines may be placed below to indicate public API that will be | |
46 | * dropped at a future version bump. The defines themselves are not part of | |
47 | * the public API and may change, break or disappear at any time. | |
48 | */ | |
49 | ||
50 | #ifndef FF_API_RESAMPLE_CLOSE_OPEN | |
51 | #define FF_API_RESAMPLE_CLOSE_OPEN (LIBAVRESAMPLE_VERSION_MAJOR < 3) | |
52 | #endif | |
53 | ||
54 | #endif /* AVRESAMPLE_VERSION_H */ |