diff options
Diffstat (limited to 'vpxenc.c')
-rw-r--r-- | vpxenc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1703,6 +1703,10 @@ int main(int argc, const char **argv_) { * codec. */ argv = argv_dup(argc - 1, argv_ + 1); + if (!argv) { + fprintf(stderr, "Error allocating argument list\n"); + return EXIT_FAILURE; + } parse_global_config(&global, argv); if (argc < 3) usage_exit(); |