[svn-commits] dlee: branch dlee/record r392776 - /team/dlee/record/res/res_stasis_recording.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jun 24 16:33:16 CDT 2013


Author: dlee
Date: Mon Jun 24 16:33:14 2013
New Revision: 392776

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=392776
Log:
Duration pointer required.

Modified:
    team/dlee/record/res/res_stasis_recording.c

Modified: team/dlee/record/res/res_stasis_recording.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/record/res/res_stasis_recording.c?view=diff&rev=392776&r1=392775&r2=392776
==============================================================================
--- team/dlee/record/res/res_stasis_recording.c (original)
+++ team/dlee/record/res/res_stasis_recording.c Mon Jun 24 16:33:14 2013
@@ -220,6 +220,7 @@
 		NULL, recording_cleanup);
 	char *acceptdtmf;
 	int res;
+	int duration = 0;
 
 	recording = data;
 	ast_assert(recording != NULL);
@@ -256,7 +257,7 @@
 		recording->absolute_name,
 		recording->options->max_duration_seconds,
 		recording->options->format,
-		NULL, /* duration */
+		&duration,
 		NULL, /* sound_duration */
 		-1, /* silencethreshold */
 		recording->options->max_silence_seconds * 1000,




More information about the svn-commits mailing list