Commit 320b8d63 authored by Michael Niedermayer's avatar Michael Niedermayer

swr: fix swresample_version()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8ff4fff7
......@@ -73,7 +73,7 @@ static const AVClass av_class = {
unsigned swresample_version(void)
{
av_assert0(LIBSWRESAMPLE_VERSION_MICRO >= 100);
return LIBSWRESAMPLE_VERSION_MICRO;
return LIBSWRESAMPLE_VERSION_INT;
}
const char *swresample_configuration(void)
......
......@@ -33,6 +33,10 @@
#define LIBSWRESAMPLE_VERSION_MINOR 5
#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_FLAG_RESAMPLE 1 ///< Force resampling even if equal sample rate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment