[vorbis-dev] re: Seek problems with vorbis_file

Paul Knight pknight at lionhead.com
Tue May 11 02:21:39 PDT 2004



Turned out to be a bug in my implementation of the file callbacks (not
setting up vi->end properly). Apologies :)

-----Original Message-----
From: owner-vorbis-dev at xiph.org [mailto:owner-vorbis-dev at xiph.org] On
Behalf Of Michael Smith
Sent: 11 May 2004 01:04
To: vorbis-dev at xiph.org
Subject: Re: [vorbis-dev] re: Seek problems with vorbis_file

On Tuesday 11 May 2004 01:43, Paul Knight wrote:
> Hi,
>
> I have been having some problems with ov_pcm_seek in vorbis_file:-
>
> Any seeks to a sample within the first second of the stream (i.e. <
> 44100 samples) fail. Seeks to samples beyond this 44100 limit are
fine.
>
> It appears to be associated with vorbis_file trying to read the
> preceding page (odd for the beginning of the file), attempting an
> ov_raw_seek, then bombing out with an OV_EINVAL.
>
> Before diving any further into the code I thought I would ask if this
> was a known (and hopefully resolved) issue? - or if I'm missing
> something:)
>

This should work fine (seeking is well-tested). Could you send us a)
your 
code, and/or b) an ogg vorbis file this fails with? (the vorbis file
off-list 
- put it on a web server or something if possible).

It'd also help if you could tell us what version of vorbisfile you're
using, 
what platform/compiler/version, and any other information you think
might be 
helpful.

Mike

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

<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