MT#55283 remove pointless case distinction

`codec` is always set.

Change-Id: Ied3c7ac4f629488dafc6dc9528496f5671684ee5
pull/1614/head
Richard Fuchs 3 years ago
parent 5ce8942277
commit 531c59e128

@ -4367,9 +4367,7 @@ static void codec_store_find_matching_codecs(GQueue *out_compat, struct rtp_payl
else
pt = pt_store = codec_make_payload_type_sup(codec, cs->media);
GQueue *pts = NULL;
if (codec)
pts = g_hash_table_lookup(cs->codec_names, codec);
GQueue *pts = g_hash_table_lookup(cs->codec_names, codec);
if (pt) {
if (!pts)
pts = g_hash_table_lookup(cs->codec_names, &pt->encoding_with_params);

Loading…
Cancel
Save