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

Commit 08ef7197 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android (Google) Code Review
Browse files

Merge "media: Fix a typo in parsing nclc atom." into nyc-dev

parents d08327d1 920ae0ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2835,7 +2835,7 @@ status_t MPEG4Extractor::parseColorInfo(off64_t offset, size_t size) {

    int32_t type = U32_AT(&buffer[0]);
    if ((type == FOURCC('n', 'c', 'l', 'x') && size >= 11)
            || (type == FOURCC('n', 'c', 'l', 'c' && size >= 10))) {
            || (type == FOURCC('n', 'c', 'l', 'c') && size >= 10)) {
        int32_t primaries = U16_AT(&buffer[4]);
        int32_t transfer = U16_AT(&buffer[6]);
        int32_t coeffs = U16_AT(&buffer[8]);