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

Commit 1f88b099 authored by Kris Alder's avatar Kris Alder Committed by Gerrit Code Review
Browse files

Merge "Updated 'Utils.cpp' and 'HevcUtils.cpp'"

parents 990e294f 5af8f366
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -30,6 +30,8 @@
#include <media/stagefright/MediaErrors.h>
#include <media/stagefright/Utils.h>

#define UNUSED_PARAM __attribute__((unused))

namespace android {

static const uint8_t kHevcNalUnitTypes[5] = {
@@ -375,7 +377,7 @@ status_t HevcParameterSets::parseSps(const uint8_t* data, size_t size) {
}

status_t HevcParameterSets::parsePps(
        const uint8_t* data __unused, size_t size __unused) {
        const uint8_t* data UNUSED_PARAM, size_t size UNUSED_PARAM) {
    return OK;
}

+1 −1
Original line number Diff line number Diff line
@@ -1073,7 +1073,7 @@ status_t convertMetaDataToMessage(
        // assertion, let's be lenient for now...
        // CHECK((ptr[4] >> 2) == 0x3f);  // reserved

        size_t lengthSize __unused = 1 + (ptr[4] & 3);
        // we can get lengthSize value from 1 + (ptr[4] & 3)

        // commented out check below as H264_QVGA_500_NO_AUDIO.3gp
        // violates it...