[vlc-commits] [Git][videolan/vlc][master] access: rtp: case insensitive match configuration parameters

François Cartegnie (@fcartegnie) gitlab at videolan.org
Wed Nov 27 11:24:54 UTC 2024



François Cartegnie pushed to branch master at VideoLAN / VLC


Commits:
bd1cd88d by François Cartegnie at 2024-11-27T11:08:41+00:00
access: rtp: case insensitive match configuration parameters

in most specs format parameters are not case dependent

- - - - -


1 changed file:

- modules/access/rtp/fmtp.h


Changes:

=====================================
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;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/bd1cd88d42e6994683d24e7c101e363277c3f5d7

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/bd1cd88d42e6994683d24e7c101e363277c3f5d7
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list