| Index: webrtc/pc/webrtcsdp.cc
|
| diff --git a/webrtc/pc/webrtcsdp.cc b/webrtc/pc/webrtcsdp.cc
|
| index 93b77274bfc79a3ec550cf400d19d244c31fab45..ed49c344e81f962b42102a4f5cdeede47ef0197b 100644
|
| --- a/webrtc/pc/webrtcsdp.cc
|
| +++ b/webrtc/pc/webrtcsdp.cc
|
| @@ -2136,10 +2136,17 @@ static bool ParseMsidAttribute(const std::string& line,
|
| return ParseFailedExpectFieldNum(line, expected_fields, error);
|
| }
|
|
|
| + if (track_id->empty()) {
|
| + return ParseFailed(line, "Missing track ID in msid attribute.", error);
|
| + }
|
| +
|
| // msid:<msid-id>
|
| if (!GetValue(field1, kAttributeMsid, stream_id, error)) {
|
| return false;
|
| }
|
| + if (stream_id->empty()) {
|
| + return ParseFailed(line, "Missing stream ID in msid attribute.", error);
|
| + }
|
| return true;
|
| }
|
|
|
|
|