Module: sems Branch: master Commit: e44458d251108972cd478608493679fac1088771 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=e44458d251108972cd478608493679fac1088771
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Tue Apr 24 11:06:37 2012 +0200 removed AmSdp::int_pt as it is not used anymore. --- core/AmSdp.h | 19 ++++++++++++++----- 1 files changed, 14 insertions(+), 5 deletions(-) diff --git a/core/AmSdp.h b/core/AmSdp.h index 087c2d3..2ee43c9 100644 --- a/core/AmSdp.h +++ b/core/AmSdp.h @@ -102,7 +102,6 @@ struct SdpOrigin struct SdpPayload { int type; // media type - int int_pt; // internal payload type int payload_type; // SDP payload type string encoding_name; int clock_rate; // sample rate (Hz) @@ -110,15 +109,25 @@ struct SdpPayload string sdp_format_parameters; int encoding_param; - SdpPayload() : int_pt(-1), payload_type(-1), clock_rate(-1), encoding_param(-1) {} + SdpPayload() + : payload_type(-1), + clock_rate(-1), + encoding_param(-1) + {} - SdpPayload(int pt) : int_pt(-1), payload_type(pt), clock_rate(-1), encoding_param(-1) {} + SdpPayload(int pt) + : payload_type(pt), + clock_rate(-1), + encoding_param(-1) + {} SdpPayload(int pt, const string& name, int rate, int param) - : int_pt(-1), payload_type(pt), encoding_name(name), clock_rate(rate), encoding_param(param) {} + : payload_type(pt), encoding_name(name), + clock_rate(rate), encoding_param(param) + {} SdpPayload(const SdpPayload& other) - : type(other.type), int_pt(other.int_pt), payload_type(other.payload_type), + : type(other.type), payload_type(other.payload_type), encoding_name(other.encoding_name), clock_rate(other.clock_rate), format(other.format), sdp_format_parameters(other.sdp_format_parameters), encoding_param(other.encoding_param) _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
