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:
paulc 2010-02-15 13:53:18 +00:00
parent 0db9124255
commit 81e5d1050e
1 changed files with 2 additions and 2 deletions

View File

@ -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)