This prevents underflows in quite constrained cases Signed-off-by: Michael Niedermayer <michaelni@gmx.at>