dnxhddec: fix integer overflow / index check
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Jan 2013 18:31:45 +0000 (19:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Jan 2013 18:32:18 +0000 (19:32 +0100)
commit4a2da83a787b24c4027aa963d9db9b453e91f413
tree392f3c83c350bbe61a4e18eb3a6fef8840d9299e
parentb926cc7834d5bc998775528097831c0fbcf3730a
dnxhddec: fix integer overflow / index check

Fixes out of array read

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