From b2221612b4b5802d9cc773c348433ae32307f736 Mon Sep 17 00:00:00 2001 From: ZakatTeamI2P Date: Tue, 31 Mar 2026 01:57:25 +0400 Subject: [PATCH] UwU --- src/vorbissource.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/vorbissource.cpp b/src/vorbissource.cpp index ba044d9..eae41bd 100644 --- a/src/vorbissource.cpp +++ b/src/vorbissource.cpp @@ -27,23 +27,22 @@ #include #include -static size_t vfRead(void *ptr, size_t size, void *ops){ +static size_t vfRead(void* ptr, size_t size, void* ops){ //size_t SDL_ReadIO(SDL_IOStream *context, void *ptr, size_t size); return SDL_ReadIO(static_cast(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(ops), offset, whence); } -static long vfTell(void *ops) +static long vfTell(void* ops) { return SDL_TellIO(static_cast(ops)); } -static ov_callbacks OvCallbacks = -{ +static ov_callbacks OvCallbacks ={ vfRead, vfSeek, 0,