summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-04-12 16:05:57 -0700
committerAndreas Huber <andih@google.com>2010-04-12 16:05:57 -0700
commitd0332ad8d212d87fbf909fc780e6378b4d2c20c1 (patch)
tree4c3f46a88f8c749010fdbb40fbfb64e56a103e8c /media/libstagefright/include
parent6dbf80d086d03d95c5f6331719edd6dd6dac0361 (diff)
downloadframeworks_base-d0332ad8d212d87fbf909fc780e6378b4d2c20c1.zip
frameworks_base-d0332ad8d212d87fbf909fc780e6378b4d2c20c1.tar.gz
frameworks_base-d0332ad8d212d87fbf909fc780e6378b4d2c20c1.tar.bz2
Distinguish QCELP audio from mpeg4 audio, ignore QCELP audio tracks since we don't have a decoder for it, ignore potentially malformed metadata for AMR NB and WB tracks.
Change-Id: Ic9a9198413431db4ea40bb63b9de91aa8a7183af related-to-bug: 2587341
Diffstat (limited to 'media/libstagefright/include')
-rw-r--r--media/libstagefright/include/ESDS.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/include/ESDS.h b/media/libstagefright/include/ESDS.h
index 01bcd18..3a79951 100644
--- a/media/libstagefright/include/ESDS.h
+++ b/media/libstagefright/include/ESDS.h
@@ -31,6 +31,7 @@ public:
status_t InitCheck() const;
+ status_t getObjectTypeIndication(uint8_t *objectTypeIndication) const;
status_t getCodecSpecificInfo(const void **data, size_t *size) const;
private:
@@ -47,6 +48,7 @@ private:
size_t mDecoderSpecificOffset;
size_t mDecoderSpecificLength;
+ uint8_t mObjectTypeIndication;
status_t skipDescriptorHeader(
size_t offset, size_t size,