Fixes integer overflow and out of array access Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 3d23219637) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
3d23219637