cook: check subacket count
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Apr 2012 17:28:35 +0000 (19:28 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 21 Apr 2012 17:28:35 +0000 (19:28 +0200)
commit5a35bd92ad6b535fd5d3a7513169661de66ec247
tree0c55d0bf531bf8205b8576c4e818e4a3142d77d0
parent93bf1aac6ab9874769d347bc9fdd14cb18f063f6
cook: check subacket count

Fixes out of array writes.

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