summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/ESDS.h
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
commit81f82c32459029bf0744e28c73f95a7f18cab5ac (patch)
tree7bc1f309ecd5f3d7ce4f3377837ccd3cb7728bbf /media/libstagefright/include/ESDS.h
parent874b55f51c4c062c65aee043ec0f26044b504556 (diff)
downloadframeworks_av-81f82c32459029bf0744e28c73f95a7f18cab5ac.zip
frameworks_av-81f82c32459029bf0744e28c73f95a7f18cab5ac.tar.gz
frameworks_av-81f82c32459029bf0744e28c73f95a7f18cab5ac.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/ESDS.h')
-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,