Browse code

removed AmSdp::int_pt as it is not used anymore.

Raphael Coeffic authored on 24/04/2012 09:06:37
Showing 1 changed files
... ...
@@ -102,7 +102,6 @@ struct SdpOrigin
102 102
 struct SdpPayload
103 103
 {
104 104
   int    type;   // media type
105
-  int    int_pt; // internal payload type
106 105
   int    payload_type; // SDP payload type
107 106
   string encoding_name;
108 107
   int    clock_rate; // sample rate (Hz)
... ...
@@ -110,15 +109,25 @@ struct SdpPayload
110 109
   string sdp_format_parameters;
111 110
   int    encoding_param;
112 111
   
113
-  SdpPayload() : int_pt(-1), payload_type(-1), clock_rate(-1), encoding_param(-1) {}
112
+  SdpPayload() 
113
+    : payload_type(-1), 
114
+      clock_rate(-1), 
115
+      encoding_param(-1) 
116
+  {}
114 117
 
115
-  SdpPayload(int pt) : int_pt(-1), payload_type(pt), clock_rate(-1), encoding_param(-1) {}
118
+  SdpPayload(int pt) 
119
+    : payload_type(pt), 
120
+      clock_rate(-1), 
121
+      encoding_param(-1) 
122
+  {}
116 123
 
117 124
   SdpPayload(int pt, const string& name, int rate, int param) 
118
-    : int_pt(-1), payload_type(pt), encoding_name(name), clock_rate(rate), encoding_param(param) {}
125
+    : payload_type(pt), encoding_name(name), 
126
+      clock_rate(rate), encoding_param(param) 
127
+  {}
119 128
 
120 129
   SdpPayload(const SdpPayload& other)
121
-    : type(other.type), int_pt(other.int_pt), payload_type(other.payload_type),
130
+    : type(other.type), payload_type(other.payload_type),
122 131
       encoding_name(other.encoding_name), clock_rate(other.clock_rate),
123 132
       format(other.format), sdp_format_parameters(other.sdp_format_parameters),
124 133
       encoding_param(other.encoding_param)