Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Pedro J. Estébanez · committed by Pedro J. Estébanez · parent f54acd4 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:stb_vorbis.c+2 added-2 removed
29 unmodified lines
30// Tom Beaumont Ingo Leitgeb Nicolas Guillemot31// Phillip Bennefall Rohit Thiago Goulart32// github:manxorist saga musix github:infatum33// Timur Gagiev Maxwell Koo Peter Waller34// github:audinowho Dougall Johnson34// github:audinowho Dougall Johnson Pedro J. Estébanez35//36// Partial history:37// 1.19 - 2020-02-05 - warnings38// 1.18 - 2020-02-02 - fix seek bugs; parse header comments; misc warnings etc.
921 unmodified lines
960961static void setup_temp_free(vorb *f, void *p, int sz)962{963 if (f->alloc.alloc_buffer) {964 f->temp_offset += (sz+3)&~3;964 f->temp_offset += (sz+7)&~7;965 return;966 }967 free(p);968}
4587 unmodified lines