ffmpeg: do not use SWR_CH_MAX
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Aug 2014 23:06:03 +0000 (01:06 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 9 Aug 2014 23:08:45 +0000 (01:08 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.h

index 06ef132..d124a2c 100644 (file)
--- 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;