[vlc-commits] [Git][videolan/vlc][master] sout: udp: fix sizeof typo
    Steve Lhomme (@robUx4) 
    gitlab at videolan.org
       
    Tue Jan 28 13:44:07 UTC 2025
    
    
  
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
94f27356 by Alaric Senat at 2025-01-28T13:27:04+00:00
sout: udp: fix sizeof typo
Fixes a regression in the SAP descriptor generation.
- - - - -
1 changed file:
- modules/stream_out/udp.c
Changes:
=====================================
modules/stream_out/udp.c
=====================================
@@ -84,7 +84,7 @@ static void Flush(sout_stream_t *stream, void *id)
 static session_descriptor_t *CreateSDP(vlc_object_t *obj, int fd)
 {
     vlc_sockaddr src, dst;
-    socklen_t srclen = sizeof (srclen), dstlen = sizeof (dst);
+    socklen_t srclen = sizeof (src), dstlen = sizeof (dst);
     char dhost[INET6_ADDRSTRLEN];
     unsigned short dport;
 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/94f273566e2d12987f37bd9e0a601b49be86ad17
-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/94f273566e2d12987f37bd9e0a601b49be86ad17
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