This makes the code more robust against reordering or fields. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>