stb_vorbis.c: Fix missing update to 64-bit alignment

This commit is contained in:
Pedro J. Estébanez 2020-05-03 02:27:35 +02:00
parent f54acd4e13
commit 2d0faa4d26

View File

@ -31,7 +31,7 @@
// Phillip Bennefall Rohit Thiago Goulart // Phillip Bennefall Rohit Thiago Goulart
// github:manxorist saga musix github:infatum // github:manxorist saga musix github:infatum
// Timur Gagiev Maxwell Koo Peter Waller // Timur Gagiev Maxwell Koo Peter Waller
// github:audinowho Dougall Johnson // github:audinowho Dougall Johnson Pedro J. Estébanez
// //
// Partial history: // Partial history:
// 1.19 - 2020-02-05 - warnings // 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) static void setup_temp_free(vorb *f, void *p, int sz)
{ {
if (f->alloc.alloc_buffer) { if (f->alloc.alloc_buffer) {
f->temp_offset += (sz+3)&~3; f->temp_offset += (sz+7)&~7;
return; return;
} }
free(p); free(p);