This commit is contained in:
aks 2025-01-31 16:49:26 +00:00 committed by GitHub
commit 862755e151
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View File

@ -47,6 +47,9 @@ applications/mod_voicemail
#asr_tts/mod_flite
#asr_tts/mod_pocketsphinx
#asr_tts/mod_tts_commandline
#asr_tts/mod_google_tts
#asr_tts/mod_openai_tts
#asr_tts/mod_piper_tts
codecs/mod_amr
#codecs/mod_amrwb
codecs/mod_b64

View File

@ -2137,6 +2137,9 @@ AC_CONFIG_FILES([Makefile
src/mod/asr_tts/mod_flite/Makefile
src/mod/asr_tts/mod_pocketsphinx/Makefile
src/mod/asr_tts/mod_tts_commandline/Makefile
src/mod/asr_tts/mod_google_tts/Makefile
src/mod/asr_tts/mod_openai_tts/Makefile
src/mod/asr_tts/mod_piper_tts/Makefile
src/mod/codecs/mod_amr/Makefile
src/mod/codecs/mod_amrwb/Makefile
src/mod/codecs/mod_b64/Makefile

View File

@ -126,7 +126,7 @@ hashtable_expand(switch_hashtable_t *h)
realloc(h->table, newsize * sizeof(struct entry *));
if (NULL == newtable) { (h->primeindex)--; return 0; }
h->table = newtable;
memset(newtable[h->tablelength], 0, newsize - h->tablelength);
memset(&newtable[h->tablelength], 0, (newsize - h->tablelength) * sizeof(struct entry*));
for (i = 0; i < h->tablelength; i++) {
for (pE = &(newtable[i]), e = *pE; e != NULL; e = *pE) {
index = indexFor(newsize,e->h);