oggparsetheora: make it more robust