From a69728205caed69c052ed2eb12638fb01c421635 Mon Sep 17 00:00:00 2001 From: Patrick Dion Date: Wed, 20 Nov 2024 20:25:04 -0500 Subject: [PATCH] examples/heif_enc.cc: fixed missing string conversion --- examples/heif_enc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/heif_enc.cc b/examples/heif_enc.cc index 9e85d48824..516fb2d25c 100644 --- a/examples/heif_enc.cc +++ b/examples/heif_enc.cc @@ -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, ¶ms, options, prototype_image.image.get(), &tiled_image);