mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
cleanup and formating
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@261 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -37,7 +37,7 @@ extern "C" {
|
||||
RTPIPv4Address addr(destip, tx_port);
|
||||
RTPSessionParams sessparams;
|
||||
int status;
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
if (!WSOCKON) {
|
||||
WSADATA dat;
|
||||
@@ -70,13 +70,13 @@ extern "C" {
|
||||
jrtp4c->transparams->SetPortbase(rx_port);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (!(jrtp4c->session = new JRTP4C)) {
|
||||
*err = "Memory Error!\n";
|
||||
delete jrtp4c->transparams;
|
||||
delete jrtp4c;
|
||||
return NULL;
|
||||
delete jrtp4c;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if ((status = jrtp4c->session->Create(sessparams, jrtp4c->transparams)) < 0) {
|
||||
@@ -128,7 +128,7 @@ extern "C" {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if ((pack = jrtp4c->session->GetNextPacket())) {
|
||||
slen = (int)pack->GetPayloadLength();
|
||||
|
||||
|
Reference in New Issue
Block a user