aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_agi.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_agi.c')
-rw-r--r--res/res_agi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index a050d1c8d..bf51946f9 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -1016,6 +1016,8 @@ static int handle_recordfile(struct ast_channel *chan, AGI *agi, int argc, char
break;
case AST_FRAME_VIDEO:
ast_writestream(fs, f);
+ default:
+ /* Ignore all other frames */
break;
}
ast_frfree(f);