summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/AVIExtractor.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-09-23 14:05:49 -0700
committerAndreas Huber <andih@google.com>2011-09-23 14:59:31 -0700
commit32e1832dfac3a6bbcc5c0973ccd0e22de4d1a1ac (patch)
tree5e0a3c8ef28fc0dab8428a385c99ca0a643d6a0d /media/libstagefright/include/AVIExtractor.h
parente2c10206a506381ecd466e050f8b5cdf87db7100 (diff)
downloadframeworks_av-32e1832dfac3a6bbcc5c0973ccd0e22de4d1a1ac.zip
frameworks_av-32e1832dfac3a6bbcc5c0973ccd0e22de4d1a1ac.tar.gz
frameworks_av-32e1832dfac3a6bbcc5c0973ccd0e22de4d1a1ac.tar.bz2
Support even more .avi files with .mp3 content not aligned to chunk boundaries
Change-Id: I3ace4118e2e519648c23c51d0b699ba0d7511a5d related-to-bug: 5349382
Diffstat (limited to 'media/libstagefright/include/AVIExtractor.h')
-rw-r--r--media/libstagefright/include/AVIExtractor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/media/libstagefright/include/AVIExtractor.h b/media/libstagefright/include/AVIExtractor.h
index 75ce68d..ff5dcb5 100644
--- a/media/libstagefright/include/AVIExtractor.h
+++ b/media/libstagefright/include/AVIExtractor.h
@@ -42,6 +42,7 @@ protected:
private:
struct AVISource;
+ struct MP3Splitter;
struct SampleInfo {
uint32_t mOffset;
@@ -70,6 +71,10 @@ private:
size_t mThumbnailSampleSize;
ssize_t mThumbnailSampleIndex;
size_t mMaxSampleSize;
+
+ // If mBytesPerSample > 0:
+ double mAvgChunkSize;
+ size_t mFirstChunkSize;
};
sp<DataSource> mDataSource;