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 | #if defined(ANDROID_NDK) | 123 | #if defined(ANDROID_NDK) |
| 124 | std::string filename = std::string ("/sdcard/") + sFileName; | 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 | #else | 126 | #else |
| 127 | ASSERT_TRUE (pH264File = fopen (sFileName, "rb")); | 127 | ASSERT_TRUE (pH264File = fopen (sFileName, "rb")); |
| 128 | #endif | 128 | #endif |