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

Commit 5c31583c authored by Andreas Huber's avatar Andreas Huber Committed by Android (Google) Code Review
Browse files

Merge "Fix NALU extraction of unit starts with a 0x00 nalType"

parents d356b2d5 05ea63da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ status_t getNextNALUnit(
    }

    size_t endOffset = offset - 2;
    while (data[endOffset - 1] == 0x00) {
    while (endOffset > startOffset + 1 && data[endOffset - 1] == 0x00) {
        --endOffset;
    }