Skip to content

Commit

Permalink
Merge branch 'main' into port-grayscale
Browse files Browse the repository at this point in the history
  • Loading branch information
pmeier authored Sep 18, 2023
2 parents b974dc2 + 4cb3d80 commit e9cbbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/csrc/io/video/video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ std::tuple<std::string, long> _parseStream(const std::string& streamString) {
long index_ = -1;
if (match[2].matched) {
try {
index_ = c10::stoi(match[2].str());
index_ = std::stoi(match[2].str());
} catch (const std::exception&) {
TORCH_CHECK(
false,
Expand Down

0 comments on commit e9cbbb9

Please sign in to comment.