summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/matroska
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-27 05:48:30 -0800
committerAndreas Gampe <agampe@google.com>2014-11-27 05:48:30 -0800
commit5a88501c8f677e34afb2043d7e81d8e09d6fa5f4 (patch)
tree4569ce180afcbc2aa3afaa35b06581e585294b4e /media/libstagefright/matroska
parent61280541836947ce0b281b240ffa4c55bbf5bd55 (diff)
parente5ba80c5c802ddad57e1132675c32b479c16758a (diff)
downloadframeworks_av-5a88501c8f677e34afb2043d7e81d8e09d6fa5f4.zip
frameworks_av-5a88501c8f677e34afb2043d7e81d8e09d6fa5f4.tar.gz
frameworks_av-5a88501c8f677e34afb2043d7e81d8e09d6fa5f4.tar.bz2
resolved conflicts for merge of e5ba80c5 to lmp-mr1-dev-plus-aosp
Change-Id: Iea12c8a6cabf84584e4a89ad80e298c1f4ea3dd7
Diffstat (limited to 'media/libstagefright/matroska')
-rw-r--r--media/libstagefright/matroska/MatroskaExtractor.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/media/libstagefright/matroska/MatroskaExtractor.cpp b/media/libstagefright/matroska/MatroskaExtractor.cpp
index 4f0862c..0712bf0 100644
--- a/media/libstagefright/matroska/MatroskaExtractor.cpp
+++ b/media/libstagefright/matroska/MatroskaExtractor.cpp
@@ -500,17 +500,6 @@ static unsigned U24_AT(const uint8_t *ptr) {
return ptr[0] << 16 | ptr[1] << 8 | ptr[2];
}
-static size_t clz(uint8_t x) {
- size_t numLeadingZeroes = 0;
-
- while (!(x & 0x80)) {
- ++numLeadingZeroes;
- x = x << 1;
- }
-
- return numLeadingZeroes;
-}
-
void MatroskaSource::clearPendingFrames() {
while (!mPendingFrames.empty()) {
MediaBuffer *frame = *mPendingFrames.begin();