avformat/vobsub: fix several issues.