[FFmpeg-cvslog] swr: dont use SWR_CH_MAX in the public function declaration.
Michael Niedermayer
git at videolan.org
Sat Mar 24 23:21:24 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Mar 24 23:00:59 2012 +0100| [947215a261d05b082d7f6baadad24ed4bd666a4c] | committer: Michael Niedermayer
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 <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=947215a261d05b082d7f6baadad24ed4bd666a4c
---
libswresample/swresample.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libswresample/swresample.h b/libswresample/swresample.h
index 64b9aac..2d24f95 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.
More information about the ffmpeg-cvslog
mailing list