diracdec: Check for negative quants which would cause out of array reads.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 29 Jan 2012 04:04:25 +0000 (05:04 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 16 Mar 2012 14:59:30 +0000 (15:59 +0100)
commit0be85fd80f4dba6d4b2d14590ab8921f6707a289
tree20bc8c2293e69671a31407fbfeac341e817821b8
parent9f253ebb41c5365edc406bf73bf1c483befc6ee4
diracdec: Check for negative quants which would cause out of array reads.

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

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