Re: afInitDataOffset() bug

Michael Pruett <[email protected]> Wed, 11 Sep 2002 17:47:09 -0700
Newsgroups gmane.comp.audio.audiofile
Message-ID <[email protected]>
On Sun, Sep 08, 2002 at 01:58:37AM -0500, Davy Durham wrote:
> Hey.. I'm working on ReZound's raw format support and I noticed that 
> when afInitDataOffset() is used  when initializing the afSetup, 
> afGetFrameCount() still returns the same value as if the data offset was 
> zero.  So, you end up trying to read more frames than there are if the 
> data offset is given > 0.  

I've checked in a fix for this problem.  Please look at the current CVS
version and ensure that the fix is satisfactory.

Thanks,
Michael