[Freeswitch-svn] [commit] r11191 - freeswitch/trunk/src/mod/formats/mod_local_stream

FreeSWITCH SVN mikej at freeswitch.org
Wed Jan 14 07:28:57 PST 2009


Author: mikej
Date: Wed Jan 14 09:28:57 2009
New Revision: 11191

Log:
fix build regression from rev 11162

Modified:
   freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c

Modified: freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c	(original)
+++ freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c	Wed Jan 14 09:28:57 2009
@@ -204,9 +204,10 @@
 			}
 
 			while (RUNNING) {
+				int is_open;
 				switch_core_timer_next(&timer);
 				olen = source->samples;
-				int is_open = switch_test_flag((&fh), SWITCH_FILE_OPEN);
+				is_open = switch_test_flag((&fh), SWITCH_FILE_OPEN);
 
 				if (is_open) {
 					if (switch_core_file_read(&fh, abuf, &olen) != SWITCH_STATUS_SUCCESS || !olen) {



More information about the Freeswitch-svn mailing list