vc1: check image height, fix division by 0
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Nov 2012 00:22:31 +0000 (01:22 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Nov 2012 00:43:12 +0000 (01:43 +0100)
commitb5f4836f8cb374f1a5ae45db48b61a1dfba0daad
treed985e7e2aa42d607dc0568c8eeaaf8be7f69e45b
parent8824a9ed2291d2b004dc641bd9ea8ad6f983466a
vc1: check image height, fix division by 0

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