summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/wifi-display/VideoFormats.cpp
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2015-04-17 13:46:19 -0700
committerLajos Molnar <lajos@google.com>2015-04-17 13:46:43 -0700
commitee4e1b1a63758941460ae79a064249d3a5189443 (patch)
treed27f03a73170da9cce96b6eae5b2ecd874eace22 /media/libstagefright/wifi-display/VideoFormats.cpp
parent2170233c49e50f3986cdc4f726016d6003cb5b8e (diff)
downloadframeworks_av-ee4e1b1a63758941460ae79a064249d3a5189443.zip
frameworks_av-ee4e1b1a63758941460ae79a064249d3a5189443.tar.gz
frameworks_av-ee4e1b1a63758941460ae79a064249d3a5189443.tar.bz2
stagefright: warnings be gone, some are now errors, use clang
Change-Id: I81f438ae444f04c12ae27ae4ef6d073033de172c
Diffstat (limited to 'media/libstagefright/wifi-display/VideoFormats.cpp')
-rw-r--r--media/libstagefright/wifi-display/VideoFormats.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/media/libstagefright/wifi-display/VideoFormats.cpp b/media/libstagefright/wifi-display/VideoFormats.cpp
index 2f4af5b..27393fb 100644
--- a/media/libstagefright/wifi-display/VideoFormats.cpp
+++ b/media/libstagefright/wifi-display/VideoFormats.cpp
@@ -248,8 +248,8 @@ void VideoFormats::getProfileLevel(
}
if (bestProfile == -1 || bestLevel == -1) {
- ALOGE("Profile or level not set for resolution type %d, index %d",
- type, index);
+ ALOGE("Profile or level not set for resolution type %d, index %zu",
+ type, index);
bestProfile = PROFILE_CBP;
bestLevel = LEVEL_31;
}
@@ -507,7 +507,7 @@ bool VideoFormats::PickBestFormat(
continue;
}
- ALOGV("type %u, index %u, %u x %u %c%u supported",
+ ALOGV("type %zu, index %zu, %zu x %zu %c%zu supported",
i, j, width, height, interlaced ? 'i' : 'p', framesPerSecond);
uint32_t score = width * height * framesPerSecond;