This project has moved and is read-only. For the latest updates, please go here.


Small Ogg File fails to decode


The attached file opens and plays fine in Audacity and VLC media player, but won't decode properly using NVorbis. The VorbisReader.ReadSamples method will return zero samples.

This must have been broken in a commit since Sept. 16, 2013, because that same file decoded just fine before I made an update to my local NVorbis fork today. I was able to track the error down to having been introduced at or after March 5, 2014. All previous commits that I tested seemed to work.

file attachments

Closed Apr 29, 2014 at 2:08 PM by ioctlLR
Released as 0.8.3


ioctlLR wrote Mar 23, 2014 at 9:39 PM

I'll take a look when I get back from holiday next week.

Fetze wrote Mar 23, 2014 at 10:09 PM

I'll just use the Sept. 16, 2013 version of NVorbis until this is fixed :)

ioctlLR wrote Mar 31, 2014 at 1:16 PM

Try the latest check-in. The packet reader was "exiting" early due to a change in the way EndOfStream was being handled.

ai_enabled wrote Apr 29, 2014 at 10:02 AM

I confirm - it works in latest sources.
Sadly last published build is contains this issue.