Fix a possible buffer over/underflow issue in mpeg.

Atrac seems to have a problem here, so let's be safe.