Browse Source

MT#55283 simplify pointless expectations

Change-Id: Ia1ef14a94ba4a06712185d062eff462d98d4c88b
pull/1675/head
Richard Fuchs 3 years ago
parent
commit
b0ac243c17
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/codec.c

+ 1
- 1
daemon/codec.c View File

@ -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); struct codec_handler lookup = __codec_handler_lookup_struct(payload_type, sink);
h = g_atomic_pointer_get(&m->codec_handler_cache); 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; return h;
if (G_UNLIKELY(!m->codec_handlers)) if (G_UNLIKELY(!m->codec_handlers))


Loading…
Cancel
Save