When ripping an ogg stream with empty song metadata, streamripper fails to detect it as new song. This results in the writer not being properly initialized and therefor program termination on attempting to write the first page.
The attached patch should fix that issue.
The diff is against git revision 776b68e6d2cf9017c92aa7426a79eadf7023e7f2
fix crash when ripping ogg stream with empty song metadata.