Skip to content

Commit

Permalink
Set default encode_id to match cimbar_send and cimbar.js?
Browse files Browse the repository at this point in the history
  • Loading branch information
sz3 committed Apr 16, 2024
1 parent 1875d84 commit b9668b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/exe/cimbar/cimbar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ template <typename FilenameIterable>
int encode(const FilenameIterable& infiles, const std::string& outpath, int ecc, int color_bits, int compression_level, bool legacy_mode, bool no_fountain)
{
Encoder en(ecc, cimbar::Config::symbol_bits(), color_bits);
en.set_encode_id(109);
if (legacy_mode)
en.set_legacy_mode();
for (const string& f : infiles)
Expand Down

0 comments on commit b9668b5

Please sign in to comment.