dcadec: Use correct channel count in stereo downmix check
authorTim Walker <tdskywalker@gmail.com>
Sat, 12 Apr 2014 20:11:53 +0000 (22:11 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 12 Apr 2014 21:05:37 +0000 (23:05 +0200)
commit801c39e1e3058fc4ba822bfb5d8612d777111e32
treeb91757966ac7db354976f75e44a8932341563abf
parentc8cf461c19e8e35df4b7364d9b90aa42f1ab4560
dcadec: Use correct channel count in stereo downmix check

s->prim_channels is greater than num_core_channels
when an XCh extension is present in the bitstream.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/dcadec.c