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

Commit 7592f6cd authored by Steve Kondik's avatar Steve Kondik
Browse files

avextensions: Fix warnings on 64-bit clang

Change-Id: Ie4f49819ded3a6a0e308446829a109f57a607e88
parent 3f9eb321
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ static const char * CUSTOMIZATION_LIB_NAME = "libavenhancements.so";

template <typename T>
T *ExtensionsLoader<T>::createInstance(const char *createFunctionName) {
        ALOGV("createInstance(%dbit) : %s", sizeof(intptr_t)*8, createFunctionName);
        (void)createFunctionName;
        // create extended object if extensions-lib is available and
        // AV_ENHANCEMENTS is enabled
#if ENABLE_AV_ENHANCEMENTS
+1 −1
Original line number Diff line number Diff line
@@ -277,7 +277,7 @@ status_t AVNuUtils::convertToSinkFormatIfNeeded(
        return BAD_VALUE;
    }

    ALOGV("convert %zu bytes (frames %d) of format %x",
    ALOGV("convert %zu bytes (frames %zu) of format %x",
          buffer->size(), frames, srcFormat);

    audio_format_t dstFormat;
+1 −1
Original line number Diff line number Diff line
@@ -812,7 +812,7 @@ status_t AVUtils::HEVCMuxer::parserProfileTierLevel(const uint8_t *data, size_t
}
static const uint8_t *findNextStartCode(
       const uint8_t *data, size_t length) {
    ALOGV("findNextStartCode: %p %d", data, length);
    ALOGV("findNextStartCode: %p %zu", data, length);

    size_t bytesLeft = length;