Skip to content

Commit

Permalink
Fix enc_utils.hpp
Browse files Browse the repository at this point in the history
Added filename detection for Windows path
  • Loading branch information
osamu620 authored Jun 13, 2024
1 parent 720700d commit 84fb272
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/apps/encoder/enc_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ class j2k_argset {
is_i_found = true;
} else if ((tmp.front() == '-' || tmp.front() == 'C' || tmp.front() == 'S' || tmp.front() == 'Q')
&& is_i_found) {
if (tmp[1] == ':') continue; // for Windows
fname_stop = i;
is_i_found = false;
}
Expand Down

0 comments on commit 84fb272

Please sign in to comment.