revert one mutex code (from coverity fixes)
This commit is contained in:
parent
34ed9da0e6
commit
4db85f0396
1 changed files with 1 additions and 4 deletions
|
@ -466,11 +466,8 @@ subscription_input(void *opauqe, streaming_message_t *sm)
|
|||
if(s->ths_start_message != NULL) {
|
||||
streaming_target_deliver(s->ths_output, s->ths_start_message);
|
||||
s->ths_start_message = NULL;
|
||||
if (s->ths_service) {
|
||||
pthread_mutex_lock(&s->ths_service->s_stream_mutex);
|
||||
if (s->ths_service)
|
||||
s->ths_service->s_running = 1;
|
||||
pthread_mutex_unlock(&s->ths_service->s_stream_mutex);
|
||||
}
|
||||
}
|
||||
s->ths_state = SUBSCRIPTION_GOT_SERVICE;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue