[FFmpeg-cvslog] ffmpeg: do not use SWR_CH_MAX

Michael Niedermayer git at videolan.org
Sun Aug 10 01:19:09 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Aug 10 01:06:03 2014 +0200| [d9e7dc3e16645fca4e804113f13cb3c282b17dae] | committer: Michael Niedermayer

ffmpeg: do not use SWR_CH_MAX

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d9e7dc3e16645fca4e804113f13cb3c282b17dae
---

 ffmpeg.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ffmpeg.h b/ffmpeg.h
index 06ef132..d124a2c 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;



More information about the ffmpeg-cvslog mailing list