oggplayer fix

This commit is contained in:
dborth 2009-09-20 01:38:01 +00:00
parent 9ed55ce0d7
commit 4a5ded39bd

View File

@ -87,8 +87,10 @@ static int f_read(void * punt, int bytes, int blocks, int *f)
return c / bytes;
}
static int f_seek(int *f, long offset, int mode)
static int f_seek(int *f, ogg_int64_t offset, int mode)
{
if(f==NULL) return(-1);
int k, d;
mode &= 3;
if (*f >= 0x666 && *f <= 0x669)