From c1c5932260935f9a400675bf78076f473fff55e9 Mon Sep 17 00:00:00 2001 From: Fritz Koenig Date: Tue, 17 Jan 2012 17:11:32 -0800 Subject: [PATCH] Remove duplicate line in parameter parsing. resize_down_thresh was parsed and set twice. Change-Id: I2685a6c3c825371f79ae94d305bcb50185a12dac --- vpxenc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/vpxenc.c b/vpxenc.c index 3637acb..a33ca37 100644 --- a/vpxenc.c +++ b/vpxenc.c @@ -1644,8 +1644,6 @@ int main(int argc, const char **argv_) cfg.rc_resize_up_thresh = arg_parse_uint(&arg); else if (arg_match(&arg, &resize_down_thresh, argi)) cfg.rc_resize_down_thresh = arg_parse_uint(&arg); - else if (arg_match(&arg, &resize_down_thresh, argi)) - cfg.rc_resize_down_thresh = arg_parse_uint(&arg); else if (arg_match(&arg, &end_usage, argi)) cfg.rc_end_usage = arg_parse_enum_or_int(&arg); else if (arg_match(&arg, &target_bitrate, argi)) -- 2.7.4