[vorbis] Questions about encoder_example on Mac
Eric Liu
eric_nzeds at yahoo.com.au
Mon Mar 4 03:20:37 PST 2002
Hi
I am trying the vorbis_encode example on Mac 9.04 with CW7. When I made a
little bit change to the example, it crashed.
Here is what I did.
int main()
{
int i;
for (i = 0; i < 3; i++) vorbis_encoder_example();
return (0);
}
igned char readbuffer[READ*4+44];
void vorbis_encode_example()
{
/* paste the encoder_example's code here */
..................
}
As you can see, the change is limited. When I execute the program, when i =0
everything is ok, however, when i =1 I got an unmapped
memory exception on vorbis_info_clear(&vi);
I tried this on different stationary like carbon and standard C. Same thing
happened. And the source code for encoder_example is from RC3.
I have no idea at all, could anyone give me a hand?
<p>Regards
Eric Liu
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--- >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