summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/MediaCodec.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2014-04-11 07:54:53 -0700
committerMark Salyzyn <salyzyn@google.com>2014-04-11 17:12:03 +0000
commitd411b4ca2945cd8974a3a78199fce94646950128 (patch)
treee1c9e21525348fe826b91ecee7075ccb743f843d /media/libstagefright/MediaCodec.cpp
parent51b3ea2b8f7298bffbd246c65a606cd053357b66 (diff)
downloadframeworks_av-d411b4ca2945cd8974a3a78199fce94646950128.zip
frameworks_av-d411b4ca2945cd8974a3a78199fce94646950128.tar.gz
frameworks_av-d411b4ca2945cd8974a3a78199fce94646950128.tar.bz2
warnings be gone.
(cherry picked from commit 84333e0475bc911adc16417f4ca327c975cf6c36) Modified by Mark Salyzyn <salyzyn@google.com> to keep merge conflicts or errors downstream to a minimum. Change-Id: Ic3b272f9cbf3155001aabd2f79728f1bc31de613
Diffstat (limited to 'media/libstagefright/MediaCodec.cpp')
-rw-r--r--media/libstagefright/MediaCodec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/MediaCodec.cpp b/media/libstagefright/MediaCodec.cpp
index c4c47b3..fe21296 100644
--- a/media/libstagefright/MediaCodec.cpp
+++ b/media/libstagefright/MediaCodec.cpp
@@ -115,7 +115,7 @@ status_t MediaCodec::init(const char *name, bool nameIsType, bool encoder) {
if (codecIdx >= 0) {
Vector<AString> types;
if (mcl->getSupportedTypes(codecIdx, &types) == OK) {
- for (int i = 0; i < types.size(); i++) {
+ for (size_t i = 0; i < types.size(); i++) {
if (types[i].startsWith("video/")) {
needDedicatedLooper = true;
break;