sdp: remove old workaround
Removes an old workaround for a firefox issue that was fixed in 2014.
BUG=webrtc:3212
Change-Id: I3ad71e29249908d840474cf3ee99a094c9201f6d
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/178381
Reviewed-by: Tommi <tommi@webrtc.org>
Commit-Queue: Philipp Hancke <philipp.hancke@googlemail.com>
Cr-Commit-Position: refs/heads/master@{#31584}
diff --git a/pc/webrtc_sdp.cc b/pc/webrtc_sdp.cc
index ef01eca..3188e3a 100644
--- a/pc/webrtc_sdp.cc
+++ b/pc/webrtc_sdp.cc
@@ -2631,12 +2631,6 @@
std::vector<int> payload_types;
if (cricket::IsRtpProtocol(protocol)) {
for (size_t j = 3; j < fields.size(); ++j) {
- // TODO(wu): Remove when below bug is fixed.
- // https://bugzilla.mozilla.org/show_bug.cgi?id=996329
- if (fields[j].empty() && j == fields.size() - 1) {
- continue;
- }
-
int pl = 0;
if (!GetPayloadTypeFromString(line, fields[j], &pl, error)) {
return false;