Fix crash when scanning corrupt midi file.

b/5453816

Change-Id: Ic2104fc0b86ef0b5ec3af7a009b193f85690d291
1 file changed