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>
Thu, 28 Jan 2016 00:50:33 +0000 (01:50 +0100)
commitb6fb6ccda40a3dd13784e4811ba7da1587fab64b
tree263a81149570354a171cfab6af9e984d672380c0
parent3b535bbf88576ee0b8a439052514cbb9e89e56a2
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