swr: fix swresample_version()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/3/head
Michael Niedermayer 13 years ago
parent 8ff4fff774
commit 320b8d6335
  1. 2
      libswresample/swresample.c
  2. 4
      libswresample/swresample.h

@ -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

Loading…
Cancel
Save