diff options
Diffstat (limited to 'apps/app_dictate.c')
-rw-r--r-- | apps/app_dictate.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/app_dictate.c b/apps/app_dictate.c index 1dcae7f73..f79ba82fe 100644 --- a/apps/app_dictate.c +++ b/apps/app_dictate.c @@ -202,7 +202,7 @@ static int dictate_exec(struct ast_channel *chan, const char *data) samples += ffactor; ast_seekstream(fs, samples, SEEK_SET); break; - + default: got = 0; } @@ -258,7 +258,7 @@ static int dictate_exec(struct ast_channel *chan, const char *data) break; } } - + } else if (f->frametype == AST_FRAME_VOICE) { switch(mode) { struct ast_frame *fr; @@ -330,7 +330,7 @@ static int dictate_exec(struct ast_channel *chan, const char *data) } break; } - + } ast_frfree(f); @@ -356,4 +356,3 @@ static int load_module(void) } AST_MODULE_INFO_STANDARD_EXTENDED(ASTERISK_GPL_KEY, "Virtual Dictation Machine"); - |