Re: afInitDataOffset() bug

Davy Durham <[email protected]> Wed, 11 Sep 2002 23:05:08 -0500
Newsgroups gmane.comp.audio.audiofile
Message-ID <[email protected]>
Michael Pruett wrote:

>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
>
>
>  
>
Yes, thank you; this looks good... And I do get an error reported if I 
use it incorrectly.