avmQualityToQuantizer: remove unused `depth` param
diff --git a/src/codec_avm.c b/src/codec_avm.c
index 55225fb..f15a550 100644
--- a/src/codec_avm.c
+++ b/src/codec_avm.c
@@ -438,7 +438,7 @@
     return AVIF_CLAMP((quantizer * 255 + 31) / 63, 0, 255);
 }
 
-static int avmQualityToQuantizer(int quality, uint32_t depth)
+static int avmQualityToQuantizer(int quality)
 {
     const int quantizer = ((100 - quality) * 63 + 50) / 100;
 
@@ -461,7 +461,7 @@
 {
     struct aom_codec_enc_cfg * cfg = &codec->internal->cfg;
     avifBool quantizerUpdated = AVIF_FALSE;
-    int quantizer = avmQualityToQuantizer(quality, image->depth);
+    int quantizer = avmQualityToQuantizer(quality);
 
     // For encoder->scalingMode.horizontal and encoder->scalingMode.vertical to take effect in AV2
     // encoder, config should be applied for each frame, so we don't care about changes on these