[vorbis-dev] Problem with ov_read_float()

David Mitchell vorbis at themitchells.org
Thu Jan 17 16:18:46 PST 2002



On Thursday 17 January 2002 04:09 am, Gian-Carlo Pascutto wrote:
> ----- Original Message -----
> From: "David Mitchell" <vorbis at themitchells.org>
> To: <vorbis-dev at xiph.org>
> Sent: Thursday, January 17, 2002 4:00 AM
> Subject: [vorbis-dev] Problem with ov_read_float()
>
> > float **buffer
> > bytes_read = ov_read_float(&vf, &buffer, 0)
> > memcpy (b, *buffer, 0);
>
> What also bothers me is that the last parameter
> expects a pointer, and you're passing it
> a 0.

Which is the same as NULL. I though it was OK to pass
NULL in if we didn't care about the stream number.  Is
that not the case? It's always worked fine for me to do
that. I'll go ahead and correct it anyway just to be safe.

-David Mitchell

<p>--- >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 mailing list