[Asterisk-cvs] asterisk/channels/h323 ast_h323.cpp,1.71,1.72
jeremy at lists.digium.com
jeremy at lists.digium.com
Thu Apr 28 23:32:52 CDT 2005
Update of /usr/cvsroot/asterisk/channels/h323
In directory mongoose.digium.com:/tmp/cvs-serv8027/h323
Modified Files:
ast_h323.cpp
Log Message:
Fix codec negiocation on inbound calls. Bugs 3980, 4021, 4045
Index: ast_h323.cpp
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/h323/ast_h323.cpp,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- ast_h323.cpp 21 Apr 2005 06:02:44 -0000 1.71
+++ ast_h323.cpp 29 Apr 2005 04:22:28 -0000 1.72
@@ -97,7 +97,7 @@
{
if (pptr() >= epptr()) {
int ppos = pptr() - pbase();
- char *newptr = string.GetPointer(string.GetSize() + 10);
+ char *newptr = string.GetPointer(string.GetSize() + 2000);
setp(newptr, newptr + string.GetSize() - 1);
pbump(ppos);
}
@@ -134,7 +134,7 @@
free(str);
string = PString();
- char *base = string.GetPointer(10);
+ char *base = string.GetPointer(2000);
setp(base, base + string.GetSize() - 1);
return 0;
}
@@ -1092,6 +1092,7 @@
endPoint->ClearAllCalls();
endPoint->RemoveListener(NULL);
delete endPoint;
+ endPoint = NULL;
PTrace::SetLevel(0);
delete localProcess;
delete logstream;
More information about the svn-commits
mailing list