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

Commit 920ae0ea authored by Hangyu Kuang's avatar Hangyu Kuang Committed by Marco Nelissen
Browse files

media: Fix a typo in parsing nclc atom.

Bug: 30974361
bug: 64836941
Change-Id: I12a75ed30d3259d863e744fae3ccff79d8a95f39
(cherry picked from commit 51a0ff56)
parent 177ee220
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]);