[vorbis-dev] Bad ogg? Or bug in decoder?

Firelight Technologies support at fmod.org
Fri Oct 25 21:11:09 PDT 2002



Could somone who knows the fileformat have a look at this?
http://www.fmod.org/files/gotit.ogg
(its only 9kb)

The file should be about 420ms long, or 18,800 pcm samples (not exact),
but ov_pcm_total is returning 13392, and ov_time_total is returning
303ms!
The result is when I unpack it, the end is chopped off because I
allocate ram based on the ov_pcm_total value.  
It's just the information functions that are wrong, because if you
actually decode it to the end until ov_read returns -1 it comes out ok.

Someone just sent this file to me, I usually don’t have problems like
this, im not sure if the file is encoded with an old encoder or
something? Or is there something wrong?

 
Brett Paterson
CEO / Lead Programmer.
Firelight Technologies Pty Ltd.
FMOD SoundSystem
http://www.fmod.org
 

<p>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.401 / Virus Database: 226 - Release Date: 9/10/2002
 

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