ref: 44013d4cd5d3efd3aa189d3271a02cd70da63e94
parent: 789603a8b1df82f0fcf1f8e28f5786d91b08dc56
parent: 7fa6c576e3c74fa7b452d7a7d95e9ae820e5a3b9
author: HaiboZhu <[email protected]>
date: Thu Nov 6 16:31:03 EST 2014
Merge pull request #1504 from syureyi/android_bugfix android platform bug fix
--- a/test/decoder/DecUT_DecExt.cpp
+++ b/test/decoder/DecUT_DecExt.cpp
@@ -122,7 +122,7 @@
#if defined(ANDROID_NDK)
std::string filename = std::string ("/sdcard/") + sFileName;
- ASSERT_TRUE (pH264File = fopen (filename.c_str()));
+ ASSERT_TRUE (pH264File = fopen (filename.c_str(),"rb"));
#else
ASSERT_TRUE (pH264File = fopen (sFileName, "rb"));
#endif