]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/rtcp.c
Remove INT64_C hack.
[vlc] / modules / stream_out / rtcp.c
index 54e2c83fa571f93add49e4ad1063584cf8c97ed7..83420b9e17051b24264be28c9766c7072d737a90 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <vlc_network.h>
 #include <vlc_sout.h>
+#include <vlc_fs.h>
 #include "rtp.h"
 
 #include <assert.h>
@@ -82,7 +83,7 @@ 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);
+        fd = vlc_dup (rtp_fd);
 #elif defined(UNDER_CE)
  #warning Muxed RTP/RTCP unimplemented!
         fd = -1;