[FFmpeg-devel] [PATCH] ffmpeg: guess channel layout from number of channels if needed

Mina Nagy Zaki mnzaki at gmail.com
Fri Aug 19 01:25:38 CEST 2011


On Fri, Aug 19, 2011 at 02:22:36AM +0300, Mina Nagy Zaki wrote:
> Guess channel layout from number of channels instead of setting the encoder's
> channel_layout to 0
> 
> This breaks a number of acodec-pcm regtests due to wav headers now containing a
> channel layout mask instead of 0x0

This is more correct AFAICT, unless there's a reason a 0x0 mask is preferred. I
don't know how to alter the regtest references though.



More information about the ffmpeg-devel mailing list