mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 16:39:14 +00:00
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) {
|
while (RUNNING) {
|
||||||
|
int is_open;
|
||||||
switch_core_timer_next(&timer);
|
switch_core_timer_next(&timer);
|
||||||
olen = source->samples;
|
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 (is_open) {
|
||||||
if (switch_core_file_read(&fh, abuf, &olen) != SWITCH_STATUS_SUCCESS || !olen) {
|
if (switch_core_file_read(&fh, abuf, &olen) != SWITCH_STATUS_SUCCESS || !olen) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user