[asterisk-commits] seanbright: branch 10 r349290 - in /branches/10: ./ main/audiohook.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Dec 28 15:34:00 CST 2011


Author: seanbright
Date: Wed Dec 28 15:33:56 2011
New Revision: 349290

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=349290
Log:
Use ast_audiohook_write_list_empty to determine if our lists are empty instead
of duplicating that logic.
........

Merged revisions 349289 from http://svn.asterisk.org/svn/asterisk/branches/1.8

Modified:
    branches/10/   (props changed)
    branches/10/main/audiohook.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/main/audiohook.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/audiohook.c?view=diff&rev=349290&r1=349289&r2=349290
==============================================================================
--- branches/10/main/audiohook.c (original)
+++ branches/10/main/audiohook.c Wed Dec 28 15:33:56 2011
@@ -784,9 +784,7 @@
 	int removed = 0;
 
 	/* Don't translate our frame if we aren't going to bother to use it */
-	if (AST_LIST_EMPTY(&audiohook_list->spy_list)
-		&& AST_LIST_EMPTY(&audiohook_list->whisper_list)
-		&& AST_LIST_EMPTY(&audiohook_list->manipulate_list))
+	if (ast_audiohook_write_list_empty(audiohook_list))
 		return end_frame;
 
 	/* ---Part_1. translate start_frame to SLINEAR if necessary. */




More information about the asterisk-commits mailing list