[vorbis-dev] Problems with vorbisfile

Lance lbp1 at cs.waikato.ac.nz
Sun Apr 8 14:24:44 PDT 2001



I had this problem, but it was just a matter of linking with the wrong libs
(needed to use MSVCIRT.lib)

----- Original Message -----
From: "Maciej Miasik" <maciek at detalion.com>
To: <vorbis-dev at xiph.org>
Sent: Sunday, 8 April 2001 11:18 am
Subject: Re: [vorbis-dev] Problems with vorbisfile

> Hi,
>
> >>I cut this fragment of code and pasted into my program in place of
> >>ov_open() call. Unfortunately I couldn't compile it because I didn't
have
> >a
> >>prototype for _fseek64_wrap(). I already knew that seeking caused
> problems
> >>and the vorbisfile lib would treat the stream as unseekable if the seek
> >>function returned -1. I wrote a simple seek functions returning -1 and
> >>placed it in the callbacks structure. After that the vorbisfile_example
> >>compiled and run fine, and my version of the code as well. There's
> >>definitely something wrong with vorbisfile library as Visual C++ users
> are
> >>concerned.
> >
> >Well, other VC++ users don't have any problems with this, so it's
> >a problem with your setup specifically, not with libvorbis and MSVC
> >in general. There are lots of programs widely used which use libvorbis
> >and MSVC (winamp and freeamp plugins are both compiled with MSVC, for
> >example).
>
> It seems that not only me had the same problem. I just saw bug #8 on
> bugs.xiph.org which described the same problems I had. It may be a
> single/multi-threaded library issue, but can this be fixed to work anyway?
>
> Maciek
> ---
> Maciej Miasik - Game Developer
> www.detalion.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-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.

--- >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