Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77e39d9c authored by Robert Shih's avatar Robert Shih Committed by android-build-merger
Browse files

Merge \"rtsp: remove CHECK to ignore unsupported tracks\" into nyc-mr1-dev

am: b800dfd8

Change-Id: I452abe5221d67979f2ea1d8af562b5279dd63152
parents b266898c b800dfd8
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -214,13 +214,15 @@ void ASessionDescription::getFormatType(

    char key[32];
    snprintf(key, sizeof(key), "a=rtpmap:%lu", x);

    CHECK(findAttribute(index, key, desc));

    if (findAttribute(index, key, desc)) {
        snprintf(key, sizeof(key), "a=fmtp:%lu", x);
        if (!findAttribute(index, key, params)) {
            params->clear();
        }
    } else {
        desc->clear();
        params->clear();
    }
}

bool ASessionDescription::getDimensions(