ref: 7fa6c576e3c74fa7b452d7a7d95e9ae820e5a3b9
parent: 0fa667ac5f1dccad32d1fb79b1e6f2fc0d474999
author: zhuiling <[email protected]>
date: Thu Nov 6 12:15:42 EST 2014
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