Skip to content

Commit

Permalink
Merge pull request #1400 from pcdion/heifEncFix
Browse files Browse the repository at this point in the history
examples/heif_enc.cc: fixed missing string conversion
  • Loading branch information
farindk authored Nov 21, 2024
2 parents 680df7a + a697282 commit 331bd06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/heif_enc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ heif_image_handle* encode_tiled(heif_context* ctx, heif_encoder* encoder, heif_e
params.tile_height = tiling.tile_height;
params.compression = unci_compression;

std::string input_filename = tile_generator.filename(0, 0);
std::string input_filename = tile_generator.filename(0, 0).string();
InputImage prototype_image = load_image(input_filename, output_bit_depth);

heif_error error = heif_context_add_unci_image(ctx, &params, options, prototype_image.image.get(), &tiled_image);
Expand Down

0 comments on commit 331bd06

Please sign in to comment.