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

Commit 214d6b43 authored by Daniel Micay's avatar Daniel Micay Committed by android-build-merger
Browse files

Merge \\"webm: avoid unnecessary variable-length arrays\\" am: 67fbddfd

am: 92076c36

Change-Id: I38d4de1c5cd08fc27e45f31ee6a703ae2b09f2d9
parents 79d27ec0 92076c36
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -493,7 +493,7 @@ status_t WebmWriter::start(MetaData *params) {
    }

    sp<WebmElement> elems[] = { ebml, segment, seekHead, info, tracks, cues };
    size_t nElems = sizeof(elems) / sizeof(elems[0]);
    static const size_t nElems = sizeof(elems) / sizeof(elems[0]);
    uint64_t offsets[nElems];
    uint64_t sizes[nElems];
    for (uint32_t i = 0; i < nElems; i++) {