[vlc-devel] commit: WinCE: fix build of the RTP stream output (Pierre Ynard )

git version control git at videolan.org
Wed Oct 7 15:03:48 CEST 2009


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Wed Oct  7 15:01:54 2009 +0200| [41c80f959e61dd6f945f2ed7d5b170e197bc7b6f] | committer: Pierre Ynard 

WinCE: fix build of the RTP stream output

WSADuplicateSocket() doesn't exist, so just skip that bit of code...

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=41c80f959e61dd6f945f2ed7d5b170e197bc7b6f
---

 modules/stream_out/rtcp.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/stream_out/rtcp.c b/modules/stream_out/rtcp.c
index 39091a4..5680e9b 100644
--- a/modules/stream_out/rtcp.c
+++ b/modules/stream_out/rtcp.c
@@ -83,6 +83,9 @@ rtcp_sender_t *OpenRTCP (vlc_object_t *obj, int rtp_fd, int proto,
         /* RTP/RTCP mux: duplicate the socket */
 #ifndef WIN32
         fd = dup (rtp_fd);
+#elif defined(UNDER_CE)
+ #warning Muxed RTP/RTCP unimplemented!
+        fd = -1;
 #else
         WSAPROTOCOL_INFO info;
         WSADuplicateSocket (rtp_fd, GetCurrentProcessId (), &info);




More information about the vlc-devel mailing list