[vlc-commits] [Git][videolan/vlc][master] sdp: missing initialiser

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Thu Nov 18 19:27:55 UTC 2021



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
0e09e40c by Rémi Denis-Courmont at 2021-11-18T18:21:19+00:00
sdp: missing initialiser

- - - - -


1 changed file:

- modules/access/rtp/sdp.c


Changes:

=====================================
modules/access/rtp/sdp.c
=====================================
@@ -138,7 +138,8 @@ static struct vlc_sdp_attr *vlc_sdp_attr_parse(const char *str, size_t len)
     if (namelen < len) {
         a->name[len] = '\0';
         a->value = a->name + namelen + 1;
-    }
+    } else
+        a->value = NULL;
     a->next = NULL;
     return a;
 }



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

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




More information about the vlc-commits mailing list