This prevents crashes with some corrupted bitstreams. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit d788af6cf6)
d788af6cf6