提交 a9df364a 编写于 作者: S Sean Barrett

Merge branch 'fix_stb_vorbis_alignment' of https://github.com/RandomShaper/stb into working

......@@ -32,7 +32,7 @@
// github:manxorist saga musix github:infatum
// Timur Gagiev Maxwell Koo Peter Waller
// github:audinowho Dougall Johnson David Reid
// github:Clownacy
// github:Clownacy Pedro J. Estebanez
//
// Partial history:
// 1.19 - 2020-02-05 - warnings
......@@ -964,7 +964,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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册