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

Commit efee0095 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by android code review
Browse files

Merge "Correct ID3::StringSize calculation for UCS-2 data."

parents a858aa96 be5016ba
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -743,7 +743,8 @@ static size_t StringSize(const uint8_t *start, uint8_t encoding) {
        n += 2;
    }

    return n;
    // Add size of null termination.
    return n + 2;
}

const void *