summaryrefslogtreecommitdiff
path: root/media/libaom/src/common/args.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/libaom/src/common/args.h')
-rw-r--r--media/libaom/src/common/args.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/media/libaom/src/common/args.h b/media/libaom/src/common/args.h
index 6a2664269..286f7dd1a 100644
--- a/media/libaom/src/common/args.h
+++ b/media/libaom/src/common/args.h
@@ -13,6 +13,9 @@
#define AOM_COMMON_ARGS_H_
#include <stdio.h>
+#include "aom/aom_codec.h"
+#include "aom/aom_encoder.h"
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -50,7 +53,7 @@ struct arg arg_init(char **argv);
int arg_match(struct arg *arg_, const struct arg_def *def, char **argv);
char *ignore_front_spaces(const char *str);
void ignore_end_spaces(char *str);
-int arg_cfg(int *argc, char ***argv, const char *file);
+int parse_cfg(const char *file, cfg_options_t *config);
const char *arg_next(struct arg *arg);
void arg_show_usage(FILE *fp, const struct arg_def *const *defs);
char **argv_dup(int argc, const char **argv);