[go: nahoru, domu]

Skip to content

Commit

Permalink
Merge branch 'fix_stb_vorbis_alignment' of https://github.com/RandomS…
Browse files Browse the repository at this point in the history
…haper/stb into working
  • Loading branch information
Sean Barrett committed Jul 13, 2020
2 parents bfaccab + 2d0faa4 commit a9df364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stb_vorbis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit a9df364

Please sign in to comment.