As mentioned in the TODO comment in ripogg.c streamripper does not handle granulepos gaps.
The attached patch applies against rev 7:8fab71ad8c08 and should fix that issue.
I just noticed the revision specified is from my local hg repo. The hash for the official git repo is 776b68e6d2cf9017c92aa7426a79eadf7023e7f2. Sorry for the confusion.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
patch against 7:8fab71ad8c08 to fix granulepos gaps in ogg streams
I just noticed the revision specified is from my local hg repo. The hash for the official git repo is 776b68e6d2cf9017c92aa7426a79eadf7023e7f2. Sorry for the confusion.