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

Commit f65bd44c authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8298157 from caca112b to tm-release

Change-Id: Ia2be9bc7b93e34b7bfb8903e522d73cfc81f0542
parents c78e292b caca112b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
# loosely (as of 2022/3) fgoldfain@ and direct reports
arifdikici@google.com
elaurent@google.com
fgoldfain@google.com
fgoldfain@google.com    #{LAST_RESORT_SUGGESTION}
lajos@google.com
nchalko@google.com
olly@google.com
+40 −37
Original line number Diff line number Diff line
@@ -4482,7 +4482,13 @@ void MPEG4Writer::Track::writeMdcvAndClliBoxes() {
    size_t size;
    bool found =
            meta->findData(kKeyHdrStaticInfo, &type, reinterpret_cast<const void**>(&data), &size);
    if (found && size == 25) {
    if (!found) {
        return; // Nothing to encode.
    }
    if (size != 25) {
        ALOGW("Ignoring HDR static info with unexpected size %d", (int)size);
        return;
    }
    uint16_t displayPrimariesRX = U16LE_AT(&data[1]);
    uint16_t displayPrimariesRY = U16LE_AT(&data[3]);

@@ -4518,9 +4524,6 @@ void MPEG4Writer::Track::writeMdcvAndClliBoxes() {
    mOwner->writeInt16(maxContentLightLevel);
    mOwner->writeInt16(maxPicAverageLightLevel);
    mOwner->endBox();  // clli.
    } else {
        ALOGW("Ignoring HDR static info with unexpected size %d", (int)size);
    }
}

void MPEG4Writer::Track::writeAudioFourCCBox() {