Skip to content
Myr

Merge branch 'pull_req' of https://github.com/anthofoxo/stb into working

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

authored by Sean Barrett · committed by Sean Barrett · parents ea2f937, b7b2aaa · Browse files · 1 file+7 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+7 added−2 removed

  • other:+7 added−2 removed

1 file+7 added−2 removed

modified:stb_vorbis.c+7 added-2 removed
31 unmodified lines
32// github:manxorist saga musix github:infatum33// Timur Gagiev Maxwell Koo Peter Waller34// github:audinowho Dougall Johnson David Reid35// github:Clownacy Pedro J. Estebanez Remi Verschelde36// AnthoFoxo37//38// Partial history:39// 1.20 - 2020-07-11 - several small fixes40// 1.19 - 2020-02-05 - warnings
3601 unmodified lines
3642 }3643 f->vendor[len] = (char)'\0';3644 //user comments3645 f->comment_list_length = get32_packet(f);3646 f->comment_list = NULL;3647 if (f->comment_list_length > 0)3648 {3645 f->comment_list = (char**)setup_malloc(f, sizeof(char*) * (f->comment_list_length));3646 if (f->comment_list == NULL) return error(f, VORBIS_outofmem);3649 f->comment_list = (char**) setup_malloc(f, sizeof(char*) * (f->comment_list_length));3650 if (f->comment_list == NULL) return error(f, VORBIS_outofmem);3651 }36523653 for(i=0; i < f->comment_list_length; ++i) {3654 len = get32_packet(f);3655 f->comment_list[i] = (char*)setup_malloc(f, sizeof(char) * (len+1));
1913 unmodified lines