[FFmpeg-devel] [PATCH]Raise max channels to 64

Nicolas George george at nsup.org
Mon Jul 13 19:21:29 CEST 2015


Le duodi 22 messidor, an CCXXIII, Carl Eugen Hoyos a écrit :
> A user claims that attached patch helps him 
> with a 64-channel software input device on 
> avfoundation that does not work with current 
> git head.

> diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c
> index 4ba77a7..9117cc0 100644
> --- a/libavfilter/af_pan.c
> +++ b/libavfilter/af_pan.c
> @@ -37,7 +37,7 @@
>  #include "formats.h"
>  #include "internal.h"
>  
> -#define MAX_CHANNELS 63
> +#define MAX_CHANNELS 64
>  
>  typedef struct PanContext {
>      const AVClass *class;

No objection from me on this hunk.

But I wonder what it will do with AV_CH_LAYOUT_NATIVE. Probably nothing too
bad, though.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150713/afafd26c/attachment.sig>


More information about the ffmpeg-devel mailing list