[asterisk-commits] file: branch 1.4 r89587 - /branches/1.4/apps/app_mixmonitor.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Nov 26 11:20:59 CST 2007


Author: file
Date: Mon Nov 26 11:20:58 2007
New Revision: 89587

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89587
Log:
Close the audio file before sending it to the post processing application.
(closes issue #11357)
Reported by: reformed
Patches:
      mixmonitor.patch uploaded by reformed (license 330)

Modified:
    branches/1.4/apps/app_mixmonitor.c

Modified: branches/1.4/apps/app_mixmonitor.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_mixmonitor.c?view=diff&rev=89587&r1=89586&r2=89587
==============================================================================
--- branches/1.4/apps/app_mixmonitor.c (original)
+++ branches/1.4/apps/app_mixmonitor.c Mon Nov 26 11:20:58 2007
@@ -211,14 +211,14 @@
 	if (option_verbose > 1)
 		ast_verbose(VERBOSE_PREFIX_2 "End MixMonitor Recording %s\n", mixmonitor->name);
 
+	if (fs)
+		ast_closestream(fs);
+
 	if (mixmonitor->post_process) {
 		if (option_verbose > 2)
 			ast_verbose(VERBOSE_PREFIX_2 "Executing [%s]\n", mixmonitor->post_process);
 		ast_safe_system(mixmonitor->post_process);
 	}
-		
-	if (fs)
-		ast_closestream(fs);
 
 	free(mixmonitor);
 




More information about the asterisk-commits mailing list