Index: media/cast/test/sender.cc |
diff --git a/media/cast/test/sender.cc b/media/cast/test/sender.cc |
index 739869878e6d7917d89f2d366b6c91daaf13e584..4e3a8db3bd6e31358f03744ef17bb454b1815432 100644 |
--- a/media/cast/test/sender.cc |
+++ b/media/cast/test/sender.cc |
@@ -204,13 +204,8 @@ int main(int argc, char** argv) { |
base::CommandLine::Init(argc, argv); |
InitLogging(logging::LoggingSettings()); |
- // Load the media module for FFmpeg decoding. |
- base::FilePath path; |
- PathService::Get(base::DIR_MODULE, &path); |
- if (!media::InitializeMediaLibrary(path)) { |
- LOG(ERROR) << "Could not initialize media library."; |
- return 1; |
- } |
+ // Prepare media module for FFmpeg decoding. |
+ media::InitializeMediaLibrary(); |
base::Thread test_thread("Cast sender test app thread"); |
base::Thread audio_thread("Cast audio encoder thread"); |