avcodec/libdcadec: fix request_channel_layout
authorfoo86 <foobaz86@gmail.com>
Mon, 7 Dec 2015 15:47:47 +0000 (18:47 +0300)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 8 Dec 2015 02:37:04 +0000 (03:37 +0100)
commit704654ea170c158419ded9591d8fb9895aca32be
treee5a993817dde99288c88a79541fbe2ed1fea54ba
parent97795ba6c3a58fe1b72fedcf9c65c99fb0725b9c
avcodec/libdcadec: fix request_channel_layout

Take request_channel_layout as a hint and don't force 2.0 downmix by
using both the 2CH and 6CH flags together.

Remove warnings about missing coefficients because they are no longer
relevant.

Honor AV_CH_LAYOUT_NATIVE and make it possible for native DTS channel
layout to be output.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/libdcadec.c