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

Commit d6768a3f authored by Marco Nelissen's avatar Marco Nelissen Committed by android-build-merger
Browse files

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

am: 08ef7197

Change-Id: I73ec3365c21238f7ca328763df52121b43911e04
parents 74f84d98 08ef7197
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2923,7 +2923,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]);