return -1 on bitstream errors instead of continuing, as the following stuff almost...