  extern "C" void our_srandom(int x);
  extern "C" long our_random();
 diff -ru live.orig/groupsock/inet.c live/groupsock/inet.c
---- live.orig/groupsock/inet.c	2010-05-30 01:20:31.000000000 +0300
-+++ live/groupsock/inet.c	2010-06-06 00:39:12.000000000 +0300
+--- live.orig/groupsock/inet.c	2010-10-20 10:31:13.000000000 +0200
++++ live/groupsock/inet.c	2010-10-20 12:34:04.762178010 +0200
 @@ -21,26 +21,19 @@
  }
  

   if (connect(socketNum, (struct sockaddr*) &remoteName, sizeof remoteName) != 0) {
     if (envir().getErrno() == EINPROGRESS) {
diff -ru live.orig/liveMedia/RTSPServer.cpp live/liveMedia/RTSPServer.cpp
--- live.orig/liveMedia/RTSPServer.cpp	2010-09-23 17:15:48.000000000 +0200
+++ live/liveMedia/RTSPServer.cpp	2010-09-24 12:49:57.000000000 +0200
@@ -112,11 +112,12 @@
   char urlBuffer[100]; // more than big enough for "rtsp://<ip-address>:<port>/"
 
   portNumBits portNumHostOrder = ntohs(fServerPort.num());
+  char buf[16];
   if (portNumHostOrder == 554 /* the default port number */) {
-    sprintf(urlBuffer, "rtsp://%s/", our_inet_ntoa(ourAddress.sin_addr));

   if (fIsMulticast) {
     switch (streamingMode) {
     case RTP_UDP:
@@ -936,7 +940,7 @@
     }
     }
   }
