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

Commit 7df9f2d5 authored by Ray Essick's avatar Ray Essick
Browse files

Remove some triage comments from an earlier commit.

Bug: 280693435
Bug: 155563985
Test: CtsMediaExtractorTestCases
Test: atest ExtractorUnitTest
Change-Id: Iffbe5d20120b81fd493b981223e11de4ead72387
parent f25dd316
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -84,8 +84,6 @@ VBRISeeker *VBRISeeker::CreateFromSource(
         scale,
         entrySize);

    // RBE check on the small end too
    // b/280693435, which is duped to b/155563985
    if (entrySize < 1 || entrySize > 4) {
        ALOGE("invalid VBRI entry size: %zu", entrySize);
        return NULL;
@@ -124,13 +122,12 @@ VBRISeeker *VBRISeeker::CreateFromSource(

    off64_t offset = post_id3_pos;
    for (size_t i = 0; i < numEntries; ++i) {
        uint32_t numBytes;
        uint32_t numBytes = 0;
        // entrySize is known to be [1..4]
        switch (entrySize) {
            case 1: numBytes = buffer[i]; break;
            case 2: numBytes = U16_AT(buffer + 2 * i); break;
            case 3: numBytes = U24_AT(buffer + 3 * i); break;
            default:
            case 4: numBytes = U32_AT(buffer + 4 * i); break;
        }