Fix default qualityAlpha calculation bug
When calculating qualityAlpha from minQuantizerAlpha and
maxQuantizerAlpha, use their values rather than whether or not they are
set (a boolean value).
diff --git a/apps/avifenc.c b/apps/avifenc.c
index e6432cf..6099fa4 100644
--- a/apps/avifenc.c
+++ b/apps/avifenc.c
@@ -2130,7 +2130,7 @@
if (fileSettings->minQuantizerAlpha.set) {
assert(fileSettings->maxQuantizerAlpha.set);
if (!fileSettings->qualityAlpha.set) {
- const int quantizerAlpha = (fileSettings->minQuantizerAlpha.set + fileSettings->maxQuantizerAlpha.set) / 2;
+ const int quantizerAlpha = (fileSettings->minQuantizerAlpha.value + fileSettings->maxQuantizerAlpha.value) / 2;
const int qualityAlpha = ((63 - quantizerAlpha) * 100 + 31) / 63;
fileSettings->qualityAlpha = intSettingsEntryOf(qualityAlpha);
}