xldec: Check that width is a multiple of 4
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Apr 2012 19:29:48 +0000 (21:29 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Apr 2012 19:30:23 +0000 (21:30 +0200)
commit94b42da6963a88c9518039e0b8ca42b6aab8bfb3
tree031b63f4d515d84b72e355fecea964d06f7e63ee
parent80d51680b2a21139ddc1b7335952e6f0e9aa43ac
xldec: Check that width is a multiple of 4

Fixes out of array reads

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