From bd1cd88d42e6994683d24e7c101e363277c3f5d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Cartegnie?= Date: Thu, 21 Nov 2024 14:22:54 +0700 Subject: [PATCH] access: rtp: case insensitive match configuration parameters in most specs format parameters are not case dependent --- modules/access/rtp/fmtp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/rtp/fmtp.h b/modules/access/rtp/fmtp.h index 1a0842c2f5..211e1e65ed 100644 --- a/modules/access/rtp/fmtp.h +++ b/modules/access/rtp/fmtp.h @@ -35,7 +35,7 @@ const char *vlc_sdp_fmtp_get_str(const struct vlc_sdp_pt *desc, while (p != NULL) { p += strspn(p, " "); - if (strncmp(p, name, namelen) == 0 && p[namelen] == '=') { + if (vlc_ascii_strncasecmp(p, name, namelen) == 0 && p[namelen] == '=') { p += namelen + 1; *lenp = strcspn(p, ";"); return p;