dca: map xxch side channels to AV_CH_SIDE_LEFT/RIGHT instead of REAR.
authorHendrik Leppkes <h.leppkes@gmail.com>
Sun, 8 Jul 2012 18:11:27 +0000 (20:11 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 12 Jul 2012 00:33:16 +0000 (02:33 +0200)
commit65219c3851825041456b06fd7d0b70b5f98c8e04
treea71586cbd54c56517c45fcf63726dc262643a61e
parent9ca27df52fb4306a8e37c38d1ed9ab40c42a62dc
dca: map xxch side channels to AV_CH_SIDE_LEFT/RIGHT instead of REAR.

This fixes decoding of certain 7.1 DTS-HD HRA files, as well as matches the spec better.
Table 6-22 in the DTS spec labels the two channels "Left/Right surround on side", and not rear.

Reviewed-by: Benjamin Larsson <benjamin@southpole.se>
Reviewed-by: Nick Brereton <nick@nbrereton.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dca.c