From 47ee18acc1b1c57c24515c1343d255a2e4d1f914 Mon Sep 17 00:00:00 2001 From: Corey Farrell Date: Mon, 3 Nov 2014 02:31:46 +0000 Subject: [PATCH] Fix compile error caused by review 4138 There is no procedure called ast_closeframe, fix code to use ast_closestream. Reported By: Matt Jordan git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@427087 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index aebadb064d..96620c2cfe 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -6041,7 +6041,7 @@ static int msg_create_from_file(struct ast_vm_recording_data *recdata) ast_getformatbyname(recdata->recording_ext, &result); duration = (int) (framelength / ast_format_rate(&result)); } - ast_closeframe(recording_fs); + ast_closestream(recording_fs); } /* If the duration was below the minimum duration for the user, let's just drop the whole thing now */ -- 2.47.2