RĂ©mi Denis-Courmont pushed to branch master at VideoLAN / VLC
Commits:
70fedf25 by Johannes Kauffmann at 2022-07-17T07:50:58+00:00
access: live555: Adapt to 2020.12.11+ API changes
Since live555 2020.12.11, the API has changed. This should fix builds
with the latest version while still allowing contribs to pass.
Ref !1897.
Fixes #25473.
Co-authored-by: Dominic Mayers <dominic.may...@meditationstudies.org>
Co-authored-by: Pei Jia <jia...@longervision.com>
- - - - -
1 changed file:
- modules/access/live555.cpp
Changes:
=====================================
modules/access/live555.cpp
=====================================
@@ -866,7 +866,13 @@ static int SessionsSetup( demux_t *p_demux )
if( !p_sys->b_multicast )
{
/* We need different rollover behaviour for multicast */
- p_sys->b_multicast = IsMulticastAddress(
sub->connectionEndpointAddress() );
+#if LIVEMEDIA_LIBRARY_VERSION_INT <= 1607558400 // 2020.12.10
+ netAddressBits addr = sub->connectionEndpointAddress();
+#else
+ struct sockaddr_storage addr;
+ sub->getConnectionEndpointAddress(addr);
+#endif
+ p_sys->b_multicast = IsMulticastAddress( addr );
}
tk = (live_track_t*)malloc( sizeof( live_track_t ) );
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/70fedf2523a3ae5b3c41234f0bf37cd6e57e01a6
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/70fedf2523a3ae5b3c41234f0bf37cd6e57e01a6
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits