Use the proper clearParams() method to clear the parameter lists.
git-svn-id: http://voip.null.ro/svn/yate@3078 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
0db9124255
commit
81e5d1050e
|
@ -301,8 +301,8 @@ ObjList* SDPParser::parse(const MimeSdpBody& sdp, String& addr, ObjList* oldMedi
|
|||
void SDPParser::initialize(const NamedList* codecs, const NamedList* hacks, const NamedList* general)
|
||||
{
|
||||
Lock lock(this);
|
||||
m_codecs.clear();
|
||||
m_hacks.clear();
|
||||
m_codecs.clearParams();
|
||||
m_hacks.clearParams();
|
||||
if (codecs)
|
||||
m_codecs.copyParams(*codecs);
|
||||
if (hacks)
|
||||
|
|
Loading…
Reference in New Issue