(cherry picked from commit 929822111bc10fdf19ca66b7ed09e0ebf802878b) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>