From b2ce48349a03b8d7f7de0ccc41fbcfd1d2966434 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 1 Sep 2026 11:03:22 -0400 Subject: [PATCH] MT#65420 remove unneeded case distinction Change-Id: Ieb3e1092d49107401aee9e263e82952586ed8af2 --- lib/amr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/amr.c b/lib/amr.c index 414d4c2f4..fe0527c9d 100644 --- a/lib/amr.c +++ b/lib/amr.c @@ -113,8 +113,7 @@ static bool amr_format_parse(struct rtp_codec_format *f, const str *fmtp) { // Per RFC 4867 section 8.1, missing fmtp parameters use defaults (bandwidth-efficient mode, no // CRC, no robust-sorting, no interleaving). Parse whatever is present. Absent fields keep their // defaults. - if (fmtp && fmtp->len) - codeclib_key_value_parse(fmtp, amr_parse_format_cb, f); + codeclib_key_value_parse(fmtp, amr_parse_format_cb, f); return true; } static void amr_set_encdec_options(codec_options_t *opts, codec_def_t *def) {