summaryrefslogtreecommitdiffstats
path: root/media/libmedia
diff options
context:
space:
mode:
Diffstat (limited to 'media/libmedia')
-rw-r--r--media/libmedia/MediaCodecInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libmedia/MediaCodecInfo.cpp b/media/libmedia/MediaCodecInfo.cpp
index 7900eae..5ea0519 100644
--- a/media/libmedia/MediaCodecInfo.cpp
+++ b/media/libmedia/MediaCodecInfo.cpp
@@ -46,7 +46,7 @@ uint32_t MediaCodecInfo::Capabilities::getFlags() const {
return mFlags;
}
-const sp<AMessage> &MediaCodecInfo::Capabilities::getDetails() const {
+const sp<AMessage> MediaCodecInfo::Capabilities::getDetails() const {
return mDetails;
}
@@ -121,7 +121,7 @@ void MediaCodecInfo::getSupportedMimes(Vector<AString> *mimes) const {
}
}
-const sp<MediaCodecInfo::Capabilities> &
+const sp<MediaCodecInfo::Capabilities>
MediaCodecInfo::getCapabilitiesFor(const char *mime) const {
ssize_t ix = getCapabilityIndex(mime);
if (ix >= 0) {