This ensures that no invalid size leaks through (This issue is hypothetical, ive no testcase) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>