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