Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 1c189fc5334d4a687b15861d81d22c8ba2c9cd5e)