Seems like the above function correctly, so I have sent the source code to Roberto at: http://www.inf.ufpr.br/~rja00/ where you should be able to get it later today.
A short note: You will obviously need the relevant OggVorbis modules to complete compilation. The modules needed are: ogg, vorbis, vorbis-tools and win32-tools. You can either obtain these via a CVS sweep, or take the nightly CVS copy, but this includes all the other OggVorbis stuff which isn't needed here.
Also, read the ReadME1st files included with the downloads to find out which files have been amended. Amendments/additions in the code have been commented with reasons and dates. If you are using MSVC, the script.rc file with BQoggdrop will require small changes, also indicated.
Clearly, any further fundamentaal changes to the workings of the codec may require further changes to the above. If so, I will attempt to keep them up-to-date.
john33