wma: Check channel number before init.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 16 Nov 2011 02:31:25 +0000 (03:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 21 Nov 2011 20:59:17 +0000 (21:59 +0100)
commit037b1142cde54e64c8de2a5fd79c259a36b5e244
tree15202aff9f71e88ab257e1997344b33f8bd35ede
parent37cc48861d7898c27d4b95cf890e01ba44ddae02
wma: Check channel number before init.
Fixes Ticket240

Based on patch by ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 20431a9982b9bd2c475042d919890a941ad70c71)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/wmadec.c