Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org> (cherry picked from commit 9ff85f865802ae3ab359566b2bf774e44d5730a9)