提交 320b8d63 编写于 作者: M Michael Niedermayer

swr: fix swresample_version()

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册