ec: fix used arrays

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>