[physfs] PHYSFS_seek is too simple

fy fy0748 at gmail.com
Tue Dec 4 08:31:14 EST 2012


在 Tue, 04 Dec 2012 18:32:56 +0800,Tim Čas <darkuranium at gmail.com> 写道:

> ...sigh...
>
> Now I'm getting annoyed.
>
> For the last time, look at the answer to the question on SO.com that  
> you've linked:  
> http://>stackoverflow.com/questions/13437422/libvorbis-audio-decode-from-memory-in-c
>
> ...the function AR_seekOgg. See how he calculates the position according  
> to `type`?

Now I understood, you are right.

I had take a wrong way, since I thought first two parameters of  
PHYSFS_seek() and fseek() are same.

Thanks for your patient.

-- 
使用Opera的电子邮件客户端:http://www.opera.com/mail/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/physfs/attachments/20121204/15b3e59e/attachment.htm>


More information about the physfs mailing list