This commit is contained in:
ZakatTeamI2P 2026-03-31 01:57:25 +04:00
parent faaf7b5ed5
commit b2221612b4
1 changed files with 4 additions and 5 deletions

View File

@ -32,7 +32,7 @@ static size_t vfRead(void *ptr, size_t size, void *ops){
return SDL_ReadIO(static_cast<SDL_IOStream*>(ops), ptr, size);
}
static int vfSeek(void *ops, ogg_int64_t offset, int whence)
static int vfSeek(void* ops, ogg_int64_t offset, SDL_IOWhence whence)
{
return SDL_SeekIO(static_cast<SDL_IOStream*>(ops), offset, whence);
}
@ -42,8 +42,7 @@ static long vfTell(void *ops)
return SDL_TellIO(static_cast<SDL_IOStream*>(ops));
}
static ov_callbacks OvCallbacks =
{
static ov_callbacks OvCallbacks ={
vfRead,
vfSeek,
0,