xbmc/xbmc — pull request #1310 by Karlson2k (2012-08-20 17:37:18+00:00)
Title: AE: Fix improper use of "layoutsByChCount"

"layoutsByChCount" use different channel relative to AEStdChLayout, so we can't use indexes higher than 8 and 3 channels means 3, not "AE_CH_LAYOUT_2_1"