#include "common/warnings.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "aom/aom_encoder.h"
#include "apps/aomenc.h"
#include "common/tools_common.h"
static const char quantizer_warning_string[] = …;
struct WarningListNode { … };
struct WarningList { … };
static void add_warning(const char *warning_string,
struct WarningList *warning_list) { … }
static void free_warning_list(struct WarningList *warning_list) { … }
static int continue_prompt(int num_warnings) { … }
static void check_quantizer(int min_q, int max_q,
struct WarningList *warning_list) { … }
void check_encoder_config(int disable_prompt,
const struct AvxEncoderConfig *global_config,
const struct aom_codec_enc_cfg *stream_config) { … }