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>
Thu, 2 Feb 2012 00:12:46 +0000 (01:12 +0100)
commit5cd8afee99c83b62e1474f122d947de7e4ad9ff5
tree3f471d40711f39d4d4ba23fd4480629c9752b567
parent006508032057824a371bec4e629b66f8cbb26c47
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>
libavcodec/diracdec.c