mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-16 11:47:04 +00:00
swr: fix swresample_version()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8ff4fff774
commit
320b8d6335
@ -73,7 +73,7 @@ static const AVClass av_class = {
|
|||||||
unsigned swresample_version(void)
|
unsigned swresample_version(void)
|
||||||
{
|
{
|
||||||
av_assert0(LIBSWRESAMPLE_VERSION_MICRO >= 100);
|
av_assert0(LIBSWRESAMPLE_VERSION_MICRO >= 100);
|
||||||
return LIBSWRESAMPLE_VERSION_MICRO;
|
return LIBSWRESAMPLE_VERSION_INT;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *swresample_configuration(void)
|
const char *swresample_configuration(void)
|
||||||
|
@ -33,6 +33,10 @@
|
|||||||
#define LIBSWRESAMPLE_VERSION_MINOR 5
|
#define LIBSWRESAMPLE_VERSION_MINOR 5
|
||||||
#define LIBSWRESAMPLE_VERSION_MICRO 100
|
#define LIBSWRESAMPLE_VERSION_MICRO 100
|
||||||
|
|
||||||
|
#define LIBSWRESAMPLE_VERSION_INT AV_VERSION_INT(LIBSWRESAMPLE_VERSION_MAJOR, \
|
||||||
|
LIBSWRESAMPLE_VERSION_MINOR, \
|
||||||
|
LIBSWRESAMPLE_VERSION_MICRO)
|
||||||
|
|
||||||
#define SWR_CH_MAX 16 ///< Maximum number of channels
|
#define SWR_CH_MAX 16 ///< Maximum number of channels
|
||||||
|
|
||||||
#define SWR_FLAG_RESAMPLE 1 ///< Force resampling even if equal sample rate
|
#define SWR_FLAG_RESAMPLE 1 ///< Force resampling even if equal sample rate
|
||||||
|
Loading…
Reference in New Issue
Block a user