MT#55283 simplify pointless expectations

Change-Id: Ia1ef14a94ba4a06712185d062eff462d98d4c88b
pull/1675/head
Richard Fuchs 2 years ago
parent d24133372a
commit b0ac243c17

@ -1457,7 +1457,7 @@ static struct codec_handler *codec_handler_get_rtp(struct call_media *m, int pay
struct codec_handler lookup = __codec_handler_lookup_struct(payload_type, sink);
h = g_atomic_pointer_get(&m->codec_handler_cache);
if (G_LIKELY(G_LIKELY(h) && G_LIKELY(__codec_handler_eq(&lookup, h))))
if (G_LIKELY(h) && G_LIKELY(__codec_handler_eq(&lookup, h)))
return h;
if (G_UNLIKELY(!m->codec_handlers))

Loading…
Cancel
Save