diff --git a/daemon/call.c b/daemon/call.c index 24ccc98b7..48bbeaf63 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -2261,7 +2261,7 @@ no_stats_output: ps = l->data; send_timer_put(&ps->send_timer); - jb_put(&ps->jb); + jb_put(&ps->jb); __unkernelize(ps); dtls_shutdown(ps); ps->selected_sfd = NULL; diff --git a/daemon/jitter_buffer.c b/daemon/jitter_buffer.c index 081a2f85f..e223783bd 100644 --- a/daemon/jitter_buffer.c +++ b/daemon/jitter_buffer.c @@ -258,8 +258,8 @@ static void decrement_buffer(struct jitter_buffer *jb) { static void set_jitter_values(struct media_packet *mp) { struct jitter_buffer *jb = mp->stream->jb; - if(!jb || !mp->rtp) - return; + if(!jb || !mp->rtp) + return; int curr_seq = ntohs(mp->rtp->seq_num); if(jb->next_exp_seq) { mutex_lock(&jb->lock); diff --git a/include/jitter_buffer.h b/include/jitter_buffer.h index e27264a85..1f542fa34 100644 --- a/include/jitter_buffer.h +++ b/include/jitter_buffer.h @@ -50,10 +50,10 @@ void jb_packet_free(struct jb_packet **jbp); void jitter_buffer_loop(void *p); INLINE void jb_put(struct jitter_buffer **jb) { - if (!*jb) - return; - obj_put(&(*jb)->ttq.tt_obj); - *jb = NULL; + if (!*jb) + return; + obj_put(&(*jb)->ttq.tt_obj); + *jb = NULL; } #endif