stb_vorbis.c: Fix missing update to 64-bit alignment
This commit is contained in:
parent
f54acd4e13
commit
2d0faa4d26
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user