This fixes depending on implementation defined behavior Signed-off-by: Michael Niedermayer <michaelni@gmx.at>