Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: media/omx/omx_test.cc

Issue 431041: Implement method stubs for OpenMAX IL instead of relying on -lOmxCore. (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/media.gyp ('k') | media/omx/omx_test.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « media/media.gyp ('k') | media/omx/omx_test.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698