From 36bce999f5e775b7b8f207d71f2af48a994f6bb4 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 10 Aug 2014 01:07:56 +0200 Subject: [PATCH] libavfilter/af_amerge: Do not depend on SWR_CH_MAX Signed-off-by: Michael Niedermayer --- libavfilter/af_amerge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c index 591d672c48..0a0a79fd29 100644 --- a/libavfilter/af_amerge.c +++ b/libavfilter/af_amerge.c @@ -27,12 +27,13 @@ #include "libavutil/bprint.h" #include "libavutil/channel_layout.h" #include "libavutil/opt.h" -#include "libswresample/swresample.h" // only for SWR_CH_MAX #include "avfilter.h" #include "audio.h" #include "bufferqueue.h" #include "internal.h" +#define SWR_CH_MAX 32 + typedef struct { const AVClass *class; int nb_inputs;