In res0.c, line 78 I get a a division by zero (look->frames==0) when
running vorbisfile_example. Is this some debugging code?
Note that you don't see the exception unless you insert
__asm{
push edx
sub esp, 4
fstcw [esp]
mov dx, [esp]
and dx, 0xFFFE
mov [esp], dx
fldcw [esp]
add esp, 4
pop edx
}
in vorbisfile_example.c directly after line 82. (Win2000sp2/msvc6sp5pp)
You also get this when calling ov_clear() from code where the exceptions
are unmasked (i.e, when using another compiler than msvc). That's how I got
there.
Perhaps its an idea to enable fpu exceptions at least when debugging?
Matthijs
--- >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@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.