[vorbis] Seekable test
Olaf van der Spek
Olaf at XCC.TMFWeb.NL
Thu Dec 28 07:23:17 PST 2000
Hi,
I'm trying to get the callbacks to work.
In my docs, I read this:
If successful, fseek returns 0. Otherwise, it returns a nonzero value. On
devices incapable of seeking, the return value is undefined.
So, because I wanted to return an error, I returned 1. But in vorbisfile.c,
this code is being used:
if(offset!=-1){
ret=_open_seekable(vf);
}else{
ret=_open_nonseekable(vf);
}
I think this should be: if (!offset) or if (offset != 0)
--- >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-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
mailing list