pytorch / torchcodec

PyTorch video decoding
BSD 3-Clause "New" or "Revised" License
77 stars 9 forks source link

Unbreak CI by using C++17 code #264

Closed ahmadsharif1 closed 3 weeks ago

ahmadsharif1 commented 3 weeks ago

std::string's starts_with method is c++20

So we use a different incantation that's C++17 compliant

scotts commented 3 weeks ago

Approving and merging to unbreak CI. We can figure out later if it should be rfind() or find().