shithub: libvpx

Download patch

ref: c1c5932260935f9a400675bf78076f473fff55e9
parent: e479379abb071050d45273c614c37253522bf7b0
author: Fritz Koenig <frkoenig@google.com>
date: Tue Jan 17 12:11:32 EST 2012

Remove duplicate line in parameter parsing.

resize_down_thresh was parsed and set twice.

Change-Id: I2685a6c3c825371f79ae94d305bcb50185a12dac

--- a/vpxenc.c
+++ b/vpxenc.c
@@ -1644,8 +1644,6 @@
             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))