summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/MediaCodecList.cpp
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2014-07-30 15:40:31 -0700
committerChong Zhang <chz@google.com>2014-07-30 15:42:43 -0700
commit9bf32f06e8971c1d3eb4fc5edd74b69557f97212 (patch)
treeb437115d7b9daf6e6bdafa0f66edbf407a9490a9 /media/libstagefright/MediaCodecList.cpp
parenta6d28be0be0fa813080a021bd6a5920a8cb4fbb1 (diff)
downloadframeworks_av-9bf32f06e8971c1d3eb4fc5edd74b69557f97212.zip
frameworks_av-9bf32f06e8971c1d3eb4fc5edd74b69557f97212.tar.gz
frameworks_av-9bf32f06e8971c1d3eb4fc5edd74b69557f97212.tar.bz2
ATSParser: treat stream type 0x83 as TrueHD AC3
Bug: 16668055 Change-Id: I11fd3f795bbb50113e1a1e28e682edd76f11e146
Diffstat (limited to 'media/libstagefright/MediaCodecList.cpp')
-rw-r--r--media/libstagefright/MediaCodecList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/MediaCodecList.cpp b/media/libstagefright/MediaCodecList.cpp
index 8f54343..d021533 100644
--- a/media/libstagefright/MediaCodecList.cpp
+++ b/media/libstagefright/MediaCodecList.cpp
@@ -803,7 +803,7 @@ const char *MediaCodecList::getCodecName(size_t index) const {
bool MediaCodecList::isEncoder(size_t index) const {
if (index >= mCodecInfos.size()) {
- return NULL;
+ return false;
}
const CodecInfo &info = mCodecInfos.itemAt(index);
@@ -813,7 +813,7 @@ bool MediaCodecList::isEncoder(size_t index) const {
bool MediaCodecList::codecHasQuirk(
size_t index, const char *quirkName) const {
if (index >= mCodecInfos.size()) {
- return NULL;
+ return false;
}
const CodecInfo &info = mCodecInfos.itemAt(index);