Skip to content

Commit

Permalink
heif-enc: only use utf8 converter in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Oct 16, 2024
1 parent ea27065 commit ac2376e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/heif_enc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,10 @@ heif_error create_output_nclx_profile_and_configure_encoder(heif_encoder* encode
}


#if _WIN32
using convert_type = std::codecvt_utf8<wchar_t>;
std::wstring_convert<convert_type, wchar_t> converter;
#endif


struct input_tiles_generator
Expand Down

0 comments on commit ac2376e

Please sign in to comment.