Commit 084a5737 for libheif
commit 084a5737fdeb78843b5f0b08905addedf8d655a4
Author: Dirk Farin <dirk.farin@gmail.com>
Date: Mon Oct 5 17:59:44 2026 +0200
heif-enc: remove the leftover of the --even-size option
The option was removed in v1.19.0 (93cbc226), but its entry in the table
of the long options was left behind. --even-size was therefore still
accepted and silently did nothing, while its short form -E is an unknown
option, for which heif-enc exits with an error since 46cba868. Both are
refused now.
diff --git a/examples/heif_enc.cc b/examples/heif_enc.cc
index 5f3bfec9..08c6ab18 100644
--- a/examples/heif_enc.cc
+++ b/examples/heif_enc.cc
@@ -356,7 +356,6 @@ static option long_options[] = {
{(char* const) "list-encoders", no_argument, &list_encoders, 1},
{(char* const) "encoder", required_argument, 0, 'e'},
{(char* const) "bit-depth", required_argument, 0, 'b'},
- {(char* const) "even-size", no_argument, 0, 'E'},
{(char* const) "avif", no_argument, 0, 'A'},
{(char* const) "hevc", no_argument, 0, OPTION_USE_HEVC_COMPRESSION},
{(char* const) "vvc", no_argument, 0, OPTION_USE_VVC_COMPRESSION},