The "codecs" array is defined as const so too
should the local variable that points too it.
Change-Id: I536a9ced52257dc44a04fc1a3cad94c1e86f69aa
int main(int argc, const char **argv_) {
vpx_codec_ctx_t encoder;
- const char *in_fn = NULL, *out_fn = NULL, *stats_fn = NULL;
+ const char *in_fn = NULL, *out_fn = NULL, *stats_fn = NULL;
int i;
FILE *infile, *outfile;
vpx_codec_enc_cfg_t cfg;
int pass, one_pass_only = 0;
stats_io_t stats;
vpx_image_t raw;
- struct codec_item *codec = codecs;
+ const struct codec_item *codec = codecs;
int frame_avail, got_data;
struct arg arg;