summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/MediaExtractor.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-01-27 16:49:05 -0800
committerAndreas Huber <andih@google.com>2010-01-28 13:04:28 -0800
commit433c9acaf7715eec080426af03cf1bf288076fe8 (patch)
tree49b708fb715fc6cbe5befb77e8160a38ff2109f4 /media/libstagefright/MediaExtractor.cpp
parent2fd75f35158b8347251d18e8ec48585d6e020777 (diff)
downloadframeworks_base-433c9acaf7715eec080426af03cf1bf288076fe8.zip
frameworks_base-433c9acaf7715eec080426af03cf1bf288076fe8.tar.gz
frameworks_base-433c9acaf7715eec080426af03cf1bf288076fe8.tar.bz2
Support the specification of additional HTTP headers in the creation of a DataSource.
related-to-bug: 2393577
Diffstat (limited to 'media/libstagefright/MediaExtractor.cpp')
-rw-r--r--media/libstagefright/MediaExtractor.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/media/libstagefright/MediaExtractor.cpp b/media/libstagefright/MediaExtractor.cpp
index e46f00e..738e18a 100644
--- a/media/libstagefright/MediaExtractor.cpp
+++ b/media/libstagefright/MediaExtractor.cpp
@@ -67,16 +67,4 @@ sp<MediaExtractor> MediaExtractor::Create(
return NULL;
}
-// static
-sp<MediaExtractor> MediaExtractor::CreateFromURI(
- const char *uri, const char *mime) {
- sp<DataSource> source = DataSource::CreateFromURI(uri);
-
- if (source == NULL || source->initCheck() != OK) {
- return NULL;
- }
-
- return Create(source, mime);
-}
-
} // namespace android