Yes, more than likely a bug... The decoding loop has probably read to the end of the file, and has buffered all ogg packets, and while the decoding is not done, it has set the flag wrongly.
This is all stuff I plan to fix when I rewrite the lib into a static lib that does not rely/use Ogre classes.