vc1dec: check that coded slice positions and interlacing match.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Apr 2012 09:02:22 +0000 (11:02 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 19 Apr 2012 09:16:56 +0000 (11:16 +0200)
commit5e59a77cec804a9b44c60ea22c17beba6453ef23
tree0fa21fcd81b7ebe6e437405da226c964a1a7126d
parentdf23d64e0781a6b7389a1dd2627c65f7cb131278
vc1dec: check that coded slice positions and interlacing match.

This fixes out of array writes

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