Fixes #8282 (cherry picked from commit 64a805883d) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
64a805883d