ref: 10a492847f2af49eb8842b17658c5063fae3689b
parent: 505784eecdd749633f777fc7c70728856bb73240
parent: c9d343f3e50a7f79ee074df6a334fa5f2bef8031
author: Adrian Grange <agrange@google.com>
date: Wed Jul 25 03:53:39 EDT 2012
Merge "Added const specifier to remove warning" into experimental
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -1399,7 +1399,7 @@
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;
@@ -1407,7 +1407,7 @@
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;