lagarith: always allocate for 4 planes. Fixes out of array accesses
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Nov 2012 16:35:01 +0000 (17:35 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 12 Nov 2012 17:05:08 +0000 (18:05 +0100)
commit9eef41b848939a0a86582afdb45235e41612d9ba
tree8d0296fa5a275059d33ebb83ee9b24753f255cf0
parent87c113f4b3b8d2e243cc2e3afec4d2f7d38012d8
lagarith: always allocate for 4 planes. Fixes out of array accesses

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