We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e3580b commit b05db66Copy full SHA for b05db66
1 file changed
modules/ice_lite/rtpp_ice_lite.c
@@ -253,6 +253,8 @@ rtpp_ice_lite_worker(const struct rtpp_wthrdata *wp)
253
struct sa raddr = {0};
254
rtpp2re_sa(&raddr, sstosa(&pkt->raddr));
255
ila_c->sock->strmp_in = wip->strmp_in;
256
+ if (ila_c->sock->rh == NULL)
257
+ goto out;
258
ila_c->sock->rh(&raddr, mb, ila_c->sock->rh_arg);
259
bool completed = iscompleted(ila_c->icem);
260
if (!ila_iscompleted(ila_c) && completed) {
@@ -261,6 +263,7 @@ rtpp_ice_lite_worker(const struct rtpp_wthrdata *wp)
261
263
CALL_SMETHOD(ila_c->sock->strmp_in, latch, pkt);
262
264
atomic_store_explicit(&ila_c->completed, true, memory_order_relaxed);
265
}
266
+out:
267
pthread_mutex_unlock(&ila_c->state_lock);
268
RTPP_OBJ_DECREF(pkt);
269
RTPP_OBJ_DECREF(wi);
0 commit comments