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

Author: Raphael Coeffic <[email protected]>
Committer: Raphael Coeffic <[email protected]>
Date:   Thu Aug 12 16:25:58 2010 +0200

- fixed bug causing invalid payloads to be added to SdpMedia::payloads.

---

 core/AmSdp.cpp |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/core/AmSdp.cpp b/core/AmSdp.cpp
index d970439..c2e27e4 100644
--- a/core/AmSdp.cpp
+++ b/core/AmSdp.cpp
@@ -916,9 +916,6 @@ static void parse_sdp_attr(AmSdp* sdp_msg, char* s)
          DBG("found media attr '%s', but value is not followed by cr\n",
              (char *)attr.c_str());
       }
-      //payload.type = media.type;
-      //payload.encoding_name = attr;
-      //payload.sdp_format_parameters = value;
     }
 
 
@@ -934,9 +931,6 @@ static void parse_sdp_attr(AmSdp* sdp_msg, char* s)
       }
   }
 
-  media.payloads.push_back(payload);
-
-  //  DBG("parse_sdp_line_ex: parse_sdp_attr: done parsing sdp attributes\n");
   return;
 }
 

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

Reply via email to