Commit f182ceab71 for aom
commit f182ceab71bb481b8ed06ba3333d6779172d7079
Author: James Zern <jzern@google.com>
Date: Wed May 13 13:57:27 2026 -0700
av1_cx_iface.c: fix signed/unsigned warning
In Visual Studio / cl.exe builds after:
32c4161373 Use g_bit_depth during input validation
```
av1\av1_cx_iface.c(805,30):
warning C4018: '>': signed/unsigned mismatch
```
Change-Id: Ic32fdc297162539dc8d5e83fe7d829fb7ecb2e76
diff --git a/av1/av1_cx_iface.c b/av1/av1_cx_iface.c
index e33e73dddd..39d6f15f6d 100644
--- a/av1/av1_cx_iface.c
+++ b/av1/av1_cx_iface.c
@@ -802,7 +802,7 @@ static aom_codec_err_t validate_config(aom_codec_alg_priv_t *ctx,
RANGE_CHECK_HI(extra_cfg, cq_level, 63);
RANGE_CHECK(cfg, g_bit_depth, AOM_BITS_8, AOM_BITS_12);
RANGE_CHECK(cfg, g_input_bit_depth, 8, 12);
- if (cfg->g_input_bit_depth > cfg->g_bit_depth)
+ if (cfg->g_input_bit_depth > (unsigned int)cfg->g_bit_depth)
ERROR("Input bit-depth must not exceed codec bit-depth");
RANGE_CHECK(extra_cfg, content, AOM_CONTENT_DEFAULT, AOM_CONTENT_INVALID - 1);