summaryrefslogtreecommitdiffstats
path: root/media/base/media_posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/base/media_posix.cc')
-rw-r--r--media/base/media_posix.cc26
1 files changed, 0 insertions, 26 deletions
diff --git a/media/base/media_posix.cc b/media/base/media_posix.cc
index 272e9e6..438155a 100644
--- a/media/base/media_posix.cc
+++ b/media/base/media_posix.cc
@@ -68,12 +68,6 @@ std::string GetDSOName(tp_ffmpeg::StubModules stub_key) {
} // namespace
-// Address of vpx_codec_vp8_cx_algo.
-static void* vp8_cx_algo_address = NULL;
-
-// Address of vpx_codec_vp8_dx_algo.
-static void* vp8_dx_algo_address = NULL;
-
// Attempts to initialize the media library (loading DSOs, etc.).
// Returns true if everything was successfully initialized, false otherwise.
bool InitializeMediaLibrary(const FilePath& module_dir) {
@@ -91,18 +85,6 @@ bool InitializeMediaLibrary(const FilePath& module_dir) {
}
bool ret = tp_ffmpeg::InitializeStubs(paths);
-
- // TODO(hclam): This is temporary to obtain address of
- // vpx_codec_vp8_cx_algo. This should be removed once libvpx has a
- // getter method for it.
- base::NativeLibrary sumo_lib =
- base::LoadNativeLibrary(module_dir.Append(sumo_name));
- if (sumo_lib) {
- vp8_cx_algo_address = base::GetFunctionPointerFromNativeLibrary(
- sumo_lib, "vpx_codec_vp8_cx_algo");
- vp8_dx_algo_address = base::GetFunctionPointerFromNativeLibrary(
- sumo_lib, "vpx_codec_vp8_dx_algo");
- }
return ret;
}
@@ -132,12 +114,4 @@ bool InitializeOpenMaxLibrary(const FilePath& module_dir) {
}
#endif
-void* GetVp8CxAlgoAddress() {
- return vp8_cx_algo_address;
-}
-
-void* GetVp8DxAlgoAddress() {
- return vp8_dx_algo_address;
-}
-
} // namespace media