summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/matroska/MatroskaExtractor.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-10-28 10:50:47 -0700
committerAndreas Huber <andih@google.com>2010-10-28 10:50:47 -0700
commitff1df9951d09f1a1a8ae2dbc42b82b0f9c164e5e (patch)
tree95fb5e32a41ac812931ae2c97d49d4788e63618e /media/libstagefright/matroska/MatroskaExtractor.cpp
parentfc9ac988e08a8b4c42e58999300265989f26f24c (diff)
downloadframeworks_av-ff1df9951d09f1a1a8ae2dbc42b82b0f9c164e5e.zip
frameworks_av-ff1df9951d09f1a1a8ae2dbc42b82b0f9c164e5e.tar.gz
frameworks_av-ff1df9951d09f1a1a8ae2dbc42b82b0f9c164e5e.tar.bz2
Upgrade to the latest version of libwebm to fix YouTube webm playback.
Change-Id: I6a0f5e1aa07d3af428c314d36f69b119fa8d2d3a related-to-bug: 3141937
Diffstat (limited to 'media/libstagefright/matroska/MatroskaExtractor.cpp')
-rw-r--r--media/libstagefright/matroska/MatroskaExtractor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/matroska/MatroskaExtractor.cpp b/media/libstagefright/matroska/MatroskaExtractor.cpp
index 7c7d69e..d16476d 100644
--- a/media/libstagefright/matroska/MatroskaExtractor.cpp
+++ b/media/libstagefright/matroska/MatroskaExtractor.cpp
@@ -252,7 +252,7 @@ void BlockIterator::reset() {
}
void BlockIterator::seek(int64_t seekTimeUs) {
- mCluster = mSegment->GetCluster(seekTimeUs * 1000ll);
+ mCluster = mSegment->FindCluster(seekTimeUs * 1000ll);
mBlockEntry = mCluster != NULL ? mCluster->GetFirst() : NULL;
while (!eos() && block()->GetTrackNumber() != mTrackNum) {
@@ -476,7 +476,7 @@ void MatroskaExtractor::addTracks() {
size_t codecPrivateSize;
const unsigned char *codecPrivate =
- track->GetCodecPrivate(&codecPrivateSize);
+ track->GetCodecPrivate(codecPrivateSize);
enum { VIDEO_TRACK = 1, AUDIO_TRACK = 2 };