From d9e7dc3e16645fca4e804113f13cb3c282b17dae Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 10 Aug 2014 01:06:03 +0200 Subject: [PATCH] ffmpeg: do not use SWR_CH_MAX Signed-off-by: Michael Niedermayer --- ffmpeg.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ffmpeg.h b/ffmpeg.h index 06ef13243a..d124a2cf9b 100644 --- a/ffmpeg.h +++ b/ffmpeg.h @@ -402,7 +402,8 @@ typedef struct OutputStream { double forced_keyframes_expr_const_values[FKF_NB]; /* audio only */ - int audio_channels_map[SWR_CH_MAX]; /* list of the channels id to pick from the source stream */ +#define FF_CH_MAX 32 + int audio_channels_map[FF_CH_MAX]; /* list of the channels id to pick from the source stream */ int audio_channels_mapped; /* number of channels in audio_channels_map */ char *logfile_prefix;