[libav-devel] [PATCH] riff: mask the channel layout to 18 bits when writing dwChannelMask

2012-11-26 Thread Justin Ruggles
Only the low 18 bits are used for channel assignments. The high bit is a special-case flag bit used to indicate that any channel layout is supported. From Microsoft document, Multiple Channel Audio Data and WAVE Files: When using WAVEFORMATEXTENSIBLE, channel locations beyond this predefined set

Re: [libav-devel] [PATCH] riff: mask the channel layout to 18 bits when writing dwChannelMask

2012-11-26 Thread Diego Elio Pettenò
On 26/11/2012 20:10, Justin Ruggles wrote: Only the low 18 bits are used for channel assignments. The high bit is a special-case flag bit used to indicate that any channel layout is supported. LGTM -- Diego Elio Pettenò — Flameeyes flamee...@flameeyes.eu — http://blog.flameeyes.eu/