[vorbis-dev] ov_clear segfaults?
greg at Brim.Net
Wed Dec 13 16:09:14 PST 2000
> That should work correctly. For a test (to see where the problem might be)
> what happens if you comment out the java stuff, and just rename that
> function to main?
I'll try that, but, assuming this is some sort of memory reference
problem, it might not occur without the Java VM running.
> Ahh.. I see you're doing some stuff for win32 - if that's your actual dev
> platform, then I can see one potential problem. You MUST do fopen(...,
> "rb") - the binary tells it to open the file in binary mode. Windows does
> really weird things if you don't, in unpredictable ways.
No, I'm actually developing under Linux (Red Hat 7.0 w/updates). I've got
the Windows stuff in there because I know Aaron Porter will be trying to
get this to work under Windows as well. That's a good note on the "rb"
thing, though. I'll add that in so that it doesn't bite Aaron.
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev