From feb469d863875f65754707273055aedac4ea4dc4 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sat, 17 Aug 2013 18:11:00 +0200 Subject: [PATCH] fix seeking in WebMs > 2GB on i686 --- src/oxframe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oxframe.c b/src/oxframe.c index 37ef91b..643a47a 100644 --- a/src/oxframe.c +++ b/src/oxframe.c @@ -223,13 +223,13 @@ stdio_read(void * p, size_t length, void * fp) static int stdio_seek(int64_t offset, int whence, void * fp) { - return fseek(fp, offset, whence); + return fseeko(fp, offset, whence); } static int64_t stdio_tell(void * fp) { - return ftell(fp); + return ftello(fp); } static void