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