Changeset 1148:8d54d01cd400 in roaraudio


Ignore:
Timestamp:
01/22/09 12:34:55 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

don't accept new streams in termination state

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/streams.c

    r1142 r1148  
    5252 struct roar_stream_server * s = NULL; 
    5353 
     54 if ( g_terminate ) // don't accept new streams in case of termination state 
     55  return -1; 
     56 
    5457 for (i = 0; i < ROAR_STREAMS_MAX; i++) { 
    5558  if ( g_streams[i] == NULL ) { 
Note: See TracChangeset for help on using the changeset viewer.