Skip to content

Commit

Permalink
Merge pull request #1740 from alicevision/fix/panoramaSeams
Browse files Browse the repository at this point in the history
[software] PanoramaSeams: Check that the input is not empty
  • Loading branch information
cbentejac authored Sep 5, 2024
2 parents b3ce5af + 7c19a34 commit 084b4c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/software/pipeline/main_panoramaSeams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,11 @@ int aliceVision_main(int argc, char** argv)
continue;
}

if (fs::file_size(iter.path()) == 0)
{
continue;
}

std::smatch m;
const std::string text = iter.path().string();
if (!std::regex_search(text, m, pattern))
Expand Down

0 comments on commit 084b4c6

Please sign in to comment.