vorbisdec: reject channel mapping with less than two channels
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 3 Jan 2016 18:20:54 +0000 (19:20 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Wed, 27 Jan 2016 23:49:12 +0000 (00:49 +0100)
commit00a0c0fd75f270427970cf69f6729952987b9d36
tree2c9d348a174c309d2ff1505497a9fb197179ff47
parenta21ec4e1ee5475000847572a35e19fad122acbe4
vorbisdec: reject channel mapping with less than two channels

It causes the angle channel number to equal the magnitude channel
number, which makes the stream undecodable according to the
specification.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit b4b13848dec5420fa5dd9e1a7d4dfae5de1932d5)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/vorbisdec.c