From 2d0faa4d264f44028bd4397b9822bad4a92471b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Sun, 3 May 2020 02:27:35 +0200 Subject: [PATCH] stb_vorbis.c: Fix missing update to 64-bit alignment --- stb_vorbis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stb_vorbis.c b/stb_vorbis.c index b28944a..68b2084 100644 --- a/stb_vorbis.c +++ b/stb_vorbis.c @@ -31,7 +31,7 @@ // Phillip Bennefall Rohit Thiago Goulart // github:manxorist saga musix github:infatum // Timur Gagiev Maxwell Koo Peter Waller -// github:audinowho Dougall Johnson +// github:audinowho Dougall Johnson Pedro J. Estébanez // // Partial history: // 1.19 - 2020-02-05 - warnings @@ -961,7 +961,7 @@ static void *setup_temp_malloc(vorb *f, int sz) static void setup_temp_free(vorb *f, void *p, int sz) { if (f->alloc.alloc_buffer) { - f->temp_offset += (sz+3)&~3; + f->temp_offset += (sz+7)&~7; return; } free(p);