From 947215a261d05b082d7f6baadad24ed4bd666a4c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 24 Mar 2012 23:00:59 +0100 Subject: [PATCH] swr: dont use SWR_CH_MAX in the public function declaration. This change should make no binary difference to the generated code. the API version is just bumped for correctness sake, this is not really a API or ABI change. Signed-off-by: Michael Niedermayer --- libswresample/swresample.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libswresample/swresample.h b/libswresample/swresample.h index 64b9aacd25..2d24f952e0 100644 --- a/libswresample/swresample.h +++ b/libswresample/swresample.h @@ -30,7 +30,7 @@ #include "libavutil/samplefmt.h" #define LIBSWRESAMPLE_VERSION_MAJOR 0 -#define LIBSWRESAMPLE_VERSION_MINOR 9 +#define LIBSWRESAMPLE_VERSION_MINOR 10 #define LIBSWRESAMPLE_VERSION_MICRO 100 #define LIBSWRESAMPLE_VERSION_INT AV_VERSION_INT(LIBSWRESAMPLE_VERSION_MAJOR, \ @@ -108,8 +108,8 @@ void swr_free(struct SwrContext **s); * * @return number of samples output per channel, negative value on error */ -int swr_convert(struct SwrContext *s, uint8_t *out[SWR_CH_MAX], int out_count, - const uint8_t *in [SWR_CH_MAX], int in_count); +int swr_convert(struct SwrContext *s, uint8_t **out, int out_count, + const uint8_t **in , int in_count); /** * Activate resampling compensation.