summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2015-02-13 14:16:50 -0800
committerChong Zhang <chz@google.com>2015-02-13 14:16:50 -0800
commit928da1e9631bc7f5a5484c4668646c161515aee6 (patch)
tree50248ae96b1c862f7ef9b7189dd4f5ff44d6b092 /media/libstagefright/include
parent9fdb3bd42af0876a9b76bae42d7aba2287b53af4 (diff)
downloadframeworks_av-928da1e9631bc7f5a5484c4668646c161515aee6.zip
frameworks_av-928da1e9631bc7f5a5484c4668646c161515aee6.tar.gz
frameworks_av-928da1e9631bc7f5a5484c4668646c161515aee6.tar.bz2
stagefright: stop reading meta data after MDAT or MOOF
bug: 18520722 Change-Id: I213e4bde92a7830543c1815b324164b27d853049
Diffstat (limited to 'media/libstagefright/include')
-rw-r--r--media/libstagefright/include/MPEG4Extractor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/include/MPEG4Extractor.h b/media/libstagefright/include/MPEG4Extractor.h
index 1fe6fcf..8c16251 100644
--- a/media/libstagefright/include/MPEG4Extractor.h
+++ b/media/libstagefright/include/MPEG4Extractor.h
@@ -83,6 +83,8 @@ private:
Vector<SidxEntry> mSidxEntries;
off64_t mMoofOffset;
+ bool mMoofFound;
+ bool mMdatFound;
Vector<PsshInfo> mPssh;