audio_mix: fix zeroing output channels in certain cases
[libav.git] / libavresample / version.h
CommitLineData
c8af852b
JR
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
006ec648
AK
22/**
23 * @file
24 * @ingroup lavr
25 * Libavresample version macros.
26 */
27
b83d1ee3
DB
28#include "libavutil/version.h"
29
006afc7a 30#define LIBAVRESAMPLE_VERSION_MAJOR 1
074a00d1
JR
31#define LIBAVRESAMPLE_VERSION_MINOR 1
32#define LIBAVRESAMPLE_VERSION_MICRO 0
c8af852b
JR
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/**
2047e40e
DB
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.
c8af852b
JR
48 */
49
f1c2915c
JR
50#ifndef FF_API_RESAMPLE_CLOSE_OPEN
51#define FF_API_RESAMPLE_CLOSE_OPEN (LIBAVRESAMPLE_VERSION_MAJOR < 2)
52#endif
53
c8af852b 54#endif /* AVRESAMPLE_VERSION_H */