Loading drm/mediadrm/plugins/clearkey/hidl/MemoryFileSystem.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ namespace V1_2 { namespace clearkey { std::string MemoryFileSystem::GetFileName(const std::string& path) { size_t index = path.find_last_of("/"); size_t index = path.find_last_of('/'); if (index != std::string::npos) { return path.substr(index+1); } else { Loading media/libstagefright/xmlparser/MediaCodecsXmlParser.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -493,7 +493,7 @@ MediaCodecsXmlParser::Impl::Parser::Parser(State *state, std::string path) mPath(path), mStatus(NO_INIT) { // determine href_base std::string::size_type end = path.rfind("/"); std::string::size_type end = path.rfind('/'); if (end != std::string::npos) { mHrefBase = path.substr(0, end + 1); } Loading Loading
drm/mediadrm/plugins/clearkey/hidl/MemoryFileSystem.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ namespace V1_2 { namespace clearkey { std::string MemoryFileSystem::GetFileName(const std::string& path) { size_t index = path.find_last_of("/"); size_t index = path.find_last_of('/'); if (index != std::string::npos) { return path.substr(index+1); } else { Loading
media/libstagefright/xmlparser/MediaCodecsXmlParser.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -493,7 +493,7 @@ MediaCodecsXmlParser::Impl::Parser::Parser(State *state, std::string path) mPath(path), mStatus(NO_INIT) { // determine href_base std::string::size_type end = path.rfind("/"); std::string::size_type end = path.rfind('/'); if (end != std::string::npos) { mHrefBase = path.substr(0, end + 1); } Loading