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

Commit d77619a5 authored by Cong Jiajia's avatar Cong Jiajia Committed by Gopalakrishnan Nallasamy
Browse files

HEVCUtils: set array_completeness to 1

Bug: 124020326

according to spec, array_completeness should be 1 for hvc1 atom

Test: cts-tradefed run cts-dev -m \
      CtsMediaTestCases --compatibility:module-arg \
      CtsMediaTestCases:include-annotation:\
      android.platform.test.annotations.RequiresDevice

CRs-Fixed: 2241165

Change-Id: I6183f49fb16b14f28050d2dd54f39c823f4a9d39
parent 51e42f42
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -457,8 +457,8 @@ status_t HevcParameterSets::makeHvcc(uint8_t *hvcc, size_t *hvccSize,
        if (numNalus == 0) {
            continue;
        }
        // array_completeness set to 0.
        header[0] = type;
        // array_completeness set to 1.
        header[0] = type | 0x80;
        header[1] = (numNalus >> 8) & 0xff;
        header[2] = numNalus & 0xff;
        header += 3;