[vlc-devel] commit: Copy IPv4 multicast TTL from RTP to RTCP. ( Rémi Denis-Courmont )
xxcv
xxcv07 at gmail.com
Wed Feb 25 08:57:00 CET 2009
git version control wrote:
> vlc | branch: 0.9-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Feb 23 18:24:58 2009 +0200| [19c943dc3b2883d09f490e25c36e19ff8d814d37] | committer: Rémi Denis-Courmont
>
> Copy IPv4 multicast TTL from RTP to RTCP.
>
> We were sending RTCP with TTL=1 all the time...
> (cherry picked from commit 7da51390659d29b3022c748b6e8491ad3e37f5e6)
>
Due to that not all systems have SOL_IP, compile fix.
diff --git a/include/vlc_network.h b/include/vlc_network.h
index 0cd5029..cefad4a 100644
--- a/include/vlc_network.h
+++ b/include/vlc_network.h
@@ -32,6 +32,10 @@
* This file defines interface to communicate with network plug-ins
*/
+#ifndef SOL_IP
+#define SOL_IP IPPROTO_IP
+#endif
+
#if defined( WIN32 )
# if !defined(UNDER_CE)
# define _NO_OLDNAMES 1
More information about the vlc-devel
mailing list