gifdec: check ff_lzw_decode_init() return value, fix out of array reads
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 14 Nov 2012 21:59:22 +0000 (22:59 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 14 Nov 2012 22:00:11 +0000 (23:00 +0100)
commit612ecfbbbb3f4238d44cca5f250ffc6147d03ec2
treebdbfc4fe2b238e0fc4ab3ae989f05a1b5e0f5127
parent50f0a6b4e64b78e0df1919ee1fa5e805309911c2
gifdec: check ff_lzw_decode_init() return value, fix out of array reads

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