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

Commit 9da9b138 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

am: 77e39d9c

Change-Id: I32dc5c278999a64e831641466662104e8f1b6f36
parents c23598b9 77e39d9c
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -213,13 +213,15 @@ void ASessionDescription::getFormatType(

    char key[20];
    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(