diracdec: check dimensions against chroma format.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 7 Dec 2012 03:25:17 +0000 (04:25 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 7 Dec 2012 12:43:40 +0000 (13:43 +0100)
commitea6da80cb41af9e854822d72b5dbe92ea5ca9909
tree752ad9628a5a265850a76f0226690fcd800489c5
parentf5d6b0c9c2bd593c8780ce073fad23cc7a16ef21
diracdec: check dimensions against chroma format.

Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dirac.c