diff options
author | Lajos Molnar <lajos@google.com> | 2014-08-12 08:55:25 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2014-08-12 16:30:40 +0000 |
commit | 2461e0cf6ae3fe5c9b52ce9e3ac764f4aff5e5eb (patch) | |
tree | 449c2a4029cc6e8048b9d9d373078e5830bd9404 /include/media | |
parent | e7a1737c92cf2e84754ffbc52cfec8edeffcbc75 (diff) | |
download | frameworks_av-2461e0cf6ae3fe5c9b52ce9e3ac764f4aff5e5eb.zip frameworks_av-2461e0cf6ae3fe5c9b52ce9e3ac764f4aff5e5eb.tar.gz frameworks_av-2461e0cf6ae3fe5c9b52ce9e3ac764f4aff5e5eb.tar.bz2 |
MediaCodecList: don't return references
Bug: 16905025
Change-Id: I5b42b294f0cc785b8e4dda0e82c8f8377a46f487
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/MediaCodecInfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/MediaCodecInfo.h b/include/media/MediaCodecInfo.h index 29315ce..b4916af 100644 --- a/include/media/MediaCodecInfo.h +++ b/include/media/MediaCodecInfo.h @@ -45,7 +45,7 @@ struct MediaCodecInfo : public RefBase { void getSupportedProfileLevels(Vector<ProfileLevel> *profileLevels) const; void getSupportedColorFormats(Vector<uint32_t> *colorFormats) const; uint32_t getFlags() const; - const sp<AMessage> &getDetails() const; + const sp<AMessage> getDetails() const; private: Vector<ProfileLevel> mProfileLevels; @@ -67,7 +67,7 @@ struct MediaCodecInfo : public RefBase { bool isEncoder() const; bool hasQuirk(const char *name) const; void getSupportedMimes(Vector<AString> *mimes) const; - const sp<Capabilities> &getCapabilitiesFor(const char *mime) const; + const sp<Capabilities> getCapabilitiesFor(const char *mime) const; const char *getCodecName() const; /** |