vc1dec: check that coded slice positions and interlacing match.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 28 Jul 2012 11:14:50 +0000 (17:14 +0600)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 28 Jul 2012 11:34:05 +0000 (13:34 +0200)
commit1100acbab26883007898c53efeb289f562c6e514
tree249a7d151bb600b7cc0ddc957b9e2c0743a46a9d
parent0aa907cfb1bbc647ee4b6da62fac5c89d7b4d318
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>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
libavcodec/vc1dec.c