diff options
author | Dongwon Kang <dwkang@google.com> | 2019-10-23 09:52:12 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-10-23 09:52:12 -0700 |
commit | fe725652aec8fe92d1e437122585c5e139e3c98a (patch) | |
tree | b0389e33dcdd2297db76e6a1742dfc244d22ee1a | |
parent | 74a66ed087fcd5a25dcd73eabdb198d67134abd7 (diff) | |
parent | 8701769e72d9b733c24dbfb102534ef85e4f6994 (diff) | |
download | platform_hardware_google_av-fe725652aec8fe92d1e437122585c5e139e3c98a.tar.gz platform_hardware_google_av-fe725652aec8fe92d1e437122585c5e139e3c98a.tar.bz2 platform_hardware_google_av-fe725652aec8fe92d1e437122585c5e139e3c98a.zip |
Make DataSourceFactory singleton am: 03a78366e8
am: 8701769e72
Change-Id: Ibe44355d437df68fdabc0573b158378b0ef2329b
-rw-r--r-- | media/codecs/cmds/codec2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/codecs/cmds/codec2.cpp b/media/codecs/cmds/codec2.cpp index 11c9f41..da59810 100644 --- a/media/codecs/cmds/codec2.cpp +++ b/media/codecs/cmds/codec2.cpp @@ -417,7 +417,7 @@ int main(int argc, char **argv) { const char *filename = argv[k]; sp<DataSource> dataSource = - DataSourceFactory::CreateFromURI(nullptr /* httpService */, filename); + DataSourceFactory::getInstance()->CreateFromURI(nullptr /* httpService */, filename); if (strncasecmp(filename, "sine:", 5) && dataSource == nullptr) { fprintf(stderr, "Unable to create data source.\n"); |