Module: sems
Branch: master
Commit: 78b8c390fceb722a9a891866b7660dceb2533b81
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=78b8c390fceb722a9a891866b7660dceb2533b81

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Wed Oct  3 12:10:02 2012 +0200

c/f: fix compiling rtcp relay

---

 core/AmRtpStream.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/AmRtpStream.cpp b/core/AmRtpStream.cpp
index f2a2cea..346c74f 100644
--- a/core/AmRtpStream.cpp
+++ b/core/AmRtpStream.cpp
@@ -101,7 +101,7 @@ int AmRtpStream::getLocalSocket()
   if (l_sd)
     return l_sd;
 
-  int sd=0, rctp_sd=0;
+  int sd=0, rtcp_sd=0;
 #ifdef SUPPORT_IPV6
   if((sd = socket(l_saddr.ss_family,SOCK_DGRAM,0)) == -1)
 #else
@@ -151,7 +151,7 @@ void AmRtpStream::setLocalPort()
   }
   
   int retry = 10;
-  unsigned short port = 0, rtcp_port = 0;
+  unsigned short port = 0;
   for(;retry; --retry){
 
     if (!getLocalSocket())

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to