Merge 3d4a9133b7
into 5e82e4f305
This commit is contained in:
commit
862755e151
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue