summaryrefslogtreecommitdiffstats
path: root/media/libavextensions
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-04-30 19:49:32 -0700
committerSteve Kondik <steve@cyngn.com>2016-04-30 19:49:32 -0700
commit7592f6cde9d6a228e07377fc822adab0cad0faf7 (patch)
tree7a77476df324f1f8106b3b09708196010022ac0c /media/libavextensions
parent3f9eb321481de3e118632a594bf1b0c9001c281c (diff)
downloadframeworks_av-7592f6cde9d6a228e07377fc822adab0cad0faf7.zip
frameworks_av-7592f6cde9d6a228e07377fc822adab0cad0faf7.tar.gz
frameworks_av-7592f6cde9d6a228e07377fc822adab0cad0faf7.tar.bz2
avextensions: Fix warnings on 64-bit clang
Change-Id: Ie4f49819ded3a6a0e308446829a109f57a607e88
Diffstat (limited to 'media/libavextensions')
-rw-r--r--media/libavextensions/common/ExtensionsLoader.hpp2
-rw-r--r--media/libavextensions/mediaplayerservice/AVNuUtils.cpp2
-rw-r--r--media/libavextensions/stagefright/AVUtils.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/media/libavextensions/common/ExtensionsLoader.hpp b/media/libavextensions/common/ExtensionsLoader.hpp
index 48bcf3b..15728ed 100644
--- a/media/libavextensions/common/ExtensionsLoader.hpp
+++ b/media/libavextensions/common/ExtensionsLoader.hpp
@@ -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
diff --git a/media/libavextensions/mediaplayerservice/AVNuUtils.cpp b/media/libavextensions/mediaplayerservice/AVNuUtils.cpp
index 5f146c7..773a098 100644
--- a/media/libavextensions/mediaplayerservice/AVNuUtils.cpp
+++ b/media/libavextensions/mediaplayerservice/AVNuUtils.cpp
@@ -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;
diff --git a/media/libavextensions/stagefright/AVUtils.cpp b/media/libavextensions/stagefright/AVUtils.cpp
index 413026b..a9cd4b2 100644
--- a/media/libavextensions/stagefright/AVUtils.cpp
+++ b/media/libavextensions/stagefright/AVUtils.cpp
@@ -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;