fix build regression from rev 11162
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11191 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3079ae0cbf
commit
ed521c19d5
|
@ -204,9 +204,10 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
|
|||
}
|
||||
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue