Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 85466e1e5f7f1fe50933d2d967a06b45b9222b5b)