android platform bug fix
Showing the changes to test/decoder (1 of 1 file). Show all
Unified · Split
| @@ -122,7 +122,7 @@ void DecoderInterfaceTest::DecoderBs (const char* sFileName) { · 121 unmodified lines | ||
| 122 | 122 | |
| 123 | 123 | #if defined(ANDROID_NDK) |
| 124 | 124 | std::string filename = std::string ("/sdcard/") + sFileName; |
| 125 | − ASSERT_TRUE (pH264File = fopen (filename.c_str())); | |
| 125 | + ASSERT_TRUE (pH264File = fopen (filename.c_str(),"rb")); | |
| 126 | 126 | #else |
| 127 | 127 | ASSERT_TRUE (pH264File = fopen (sFileName, "rb")); |
| 128 | 128 | #endif |