Index: media/omx/omx_test.cc |
diff --git a/media/omx/omx_test.cc b/media/omx/omx_test.cc |
index 306a2fd23be435a5b64d50fe31c5e3b9b3ece522..bb4ffd2a650b38d2d82fe9c1133f7c1f1a95c8e2 100644 |
--- a/media/omx/omx_test.cc |
+++ b/media/omx/omx_test.cc |
@@ -12,6 +12,7 @@ |
#include "base/at_exit.h" |
#include "base/command_line.h" |
+#include "base/file_util.h" |
#include "base/message_loop.h" |
#include "base/scoped_ptr.h" |
#include "media/omx/input_buffer.h" |
@@ -89,7 +90,7 @@ class TestApp { |
void Run() { |
// Open the input file. |
- file_ = fopen(filename_, "rb"); |
+ file_ = file_util::OpenFile(filename_, "rb"); |
if (!file_) { |
printf("Error - can't open file %s\n", filename_); |
return; |