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

Commit fb976548 authored by Steve Kondik's avatar Steve Kondik
Browse files

stagefright: Fix a few format strings on 64-bit

Change-Id: I25708df616fe53d709b80c65ddecbdddef303124
parent 743c7e27
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -250,7 +250,7 @@ status_t NuPlayer::StreamingSource::dequeueAccessUnit(
    if (err == OK) {
        int64_t timeUs;
        CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
        ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
        ALOGV("dequeueAccessUnit timeUs=%" PRId64 " us", timeUs);
    }
#endif

+2 −1
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <inttypes.h>

namespace android {

@@ -265,7 +266,7 @@ status_t WAVEWriter::threadFunc() {
            mResumed = false;
        }
        timestampUs -= previousPausedDurationUs;
        ALOGV("time stamp: %lld, previous paused duration: %lld",
        ALOGV("time stamp: %" PRId64 ", previous paused duration: %" PRId64,
                timestampUs, previousPausedDurationUs);
        if (timestampUs > maxTimestampUs) {
            maxTimestampUs = timestampUs;