wma: fix off-by-one in array bounds check.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 7 Mar 2012 22:18:14 +0000 (14:18 -0800)
committerReinhard Tartler <siretart@tauware.de>
Sun, 1 Apr 2012 16:33:29 +0000 (18:33 +0200)
commitb4a223fd1936f8c7d3dd48f37f49790b0d04f429
treeda0cddd8d8383221f3c7a7abfdaa4b8ee2f1839a
parent4924520513d06b4d9169a1d3e0374d5a48bc02e0
wma: fix off-by-one in array bounds check.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit b4bccf3e4e58f6fe58043791ca09db01a4343fac)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/wmadec.c