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

Commit 25ae5761 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Ignore invalid profileLevelID" into rvc-dev

parents 1f481405 ffa4ca79
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -112,7 +112,9 @@ static sp<ABuffer> MakeAVCCodecSpecificData(
    sp<ABuffer> profileLevelID = NULL;
    if (GetAttribute(params, "profile-level-id", &val)) {
        profileLevelID = decodeHex(val);
        CHECK_EQ(profileLevelID->size(), 3u);
        if (profileLevelID != NULL && profileLevelID->size() != 3u) {
            profileLevelID = NULL;
        }
    }

    Vector<sp<ABuffer> > paramSets;