alsdec: Fix the clipping range
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 12 Jul 2013 21:02:25 +0000 (23:02 +0200)
committerSean McGovern <gseanmcg@gmail.com>
Mon, 23 Sep 2013 23:22:22 +0000 (19:22 -0400)
commit246e0e2c994f0fad30d89ff39bd1fabca30c53ce
treea4067cd4d8c4e55d167da227da213d6f5890db14
parent0d24adbe8d8e48428776586aa16df6629470d8ae
alsdec: Fix the clipping range

mcc_weightings is only 32 elements.

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

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