qdm2: check array index before use, fix out of array accesses
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Nov 2012 22:59:40 +0000 (23:59 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sun, 17 Feb 2013 10:31:20 +0000 (11:31 +0100)
commit39bec05ed42e505d17877b0c23f16322f9b5883b
treefa8e56432f76983362ca93544f93eea9dc7122f2
parent1f8f43a5b5e9b966d364d1d2d6ed741f07dcceaa
qdm2: check array index before use, fix out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a7ee6281f7ef1c29284e3a4cadfe0f227ffde1ed)

CC: libav-stable@libav.org
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/qdm2.c