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

Commit 51b9eb1c authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

warnings be gone (3/4)

(cherry picked from commit 84333e04)
(squashed with commit b4a7a2df)

Change-Id: I0c5a0c3ea32bb5091d90c7391c67edd02e50397f
parent 79724856
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -36,6 +36,8 @@
#include <media/IStreamSource.h>
#include <utils/KeyedVector.h>

#include <inttypes.h>

namespace android {

// I want the expression "y" evaluated even if verbose logging is off.
@@ -1261,8 +1263,8 @@ bool ATSParser::PTSTimeDeltaEstablished() {
}

void ATSParser::updatePCR(
        unsigned PID, uint64_t PCR, size_t byteOffsetFromStart) {
    ALOGV("PCR 0x%016llx @ %d", PCR, byteOffsetFromStart);
        unsigned /* PID */, uint64_t PCR, size_t byteOffsetFromStart) {
    ALOGV("PCR 0x%016" PRIx64 " @ %zu", PCR, byteOffsetFromStart);

    if (mNumPCRs == 2) {
        mPCR[0] = mPCR[1];