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

Commit 0362655c authored by Aaron Vaage's avatar Aaron Vaage
Browse files

Fixing string format that was breaking build.

Change-Id: Ic3e3127914e76cd3608795b94c1172807064bd89
parent 4d6af080
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -874,14 +874,14 @@ status_t MediaCodec::getBufferAndFormat(
    Vector<BufferInfo> *buffers = &mPortBuffers[portIndex];
    if (index >= buffers->size()) {
        ALOGE("getBufferAndFormat - trying to get buffer with "
              "bad index (index=%u buffer_size=%u)", index, buffers->size());
              "bad index (index=%zu buffer_size=%zu)", index, buffers->size());
        return INVALID_OPERATION;
    }

    const BufferInfo &info = buffers->itemAt(index);
    if (!info.mOwnedByClient) {
        ALOGE("getBufferAndFormat - invalid operation "
              "(index %u is not owned by client)", index);
              "(the index %zu is not owned by client)", index);
        return INVALID_OPERATION;
    }