1bed09a30e
Kaiser windows inherently don't require beta to be an integer. This was an arbitrary restriction. Moreover, soxr does not require it, and in fact often estimates beta to a non-integral value. Thus, this patch allows greater flexibility for swresample clients. Micro version is updated. Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
46 lines
1.7 KiB
C
46 lines
1.7 KiB
C
/*
|
|
* Version macros.
|
|
*
|
|
* This file is part of libswresample
|
|
*
|
|
* libswresample is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* libswresample is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with libswresample; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef SWR_VERSION_H
|
|
#define SWR_VERSION_H
|
|
|
|
/**
|
|
* @file
|
|
* Libswresample version macros
|
|
*/
|
|
|
|
#include "libavutil/avutil.h"
|
|
|
|
#define LIBSWRESAMPLE_VERSION_MAJOR 2
|
|
#define LIBSWRESAMPLE_VERSION_MINOR 0
|
|
#define LIBSWRESAMPLE_VERSION_MICRO 101
|
|
|
|
#define LIBSWRESAMPLE_VERSION_INT AV_VERSION_INT(LIBSWRESAMPLE_VERSION_MAJOR, \
|
|
LIBSWRESAMPLE_VERSION_MINOR, \
|
|
LIBSWRESAMPLE_VERSION_MICRO)
|
|
#define LIBSWRESAMPLE_VERSION AV_VERSION(LIBSWRESAMPLE_VERSION_MAJOR, \
|
|
LIBSWRESAMPLE_VERSION_MINOR, \
|
|
LIBSWRESAMPLE_VERSION_MICRO)
|
|
#define LIBSWRESAMPLE_BUILD LIBSWRESAMPLE_VERSION_INT
|
|
|
|
#define LIBSWRESAMPLE_IDENT "SwR" AV_STRINGIFY(LIBSWRESAMPLE_VERSION)
|
|
|
|
#endif /* SWR_VERSION_H */
|