dont freak on reinit if same args passed

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8917 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2008-07-08 04:07:46 +00:00
parent 431c688963
commit 50d9e6dbd5

View File

@ -116,7 +116,7 @@ static switch_status_t pocketsphinx_asr_load_grammar(switch_asr_handle_t *ah, co
switch_assert(lm && dic && model);
ps->config = cmd_ln_init(ps->config, ps_args(), TRUE,
ps->config = cmd_ln_init(ps->config, ps_args(), FALSE,
"-samprate", "8000",
"-hmm", model,
"-lm", lm,