]> git.sesse.net Git - x264/commitdiff
Minor fixes/cosmeticcs in commandling parsing
authorAnton Mitrofanov <BugMaster@narod.ru>
Fri, 3 Sep 2010 20:33:44 +0000 (13:33 -0700)
committerFiona Glaser <fiona@x264.com>
Fri, 3 Sep 2010 20:34:20 +0000 (13:34 -0700)
x264.c

diff --git a/x264.c b/x264.c
index 7d985187dc9122acc410f8d0ab11d63bd96b526f..c1f98c0ffeec21f9635923cbc94db02f46c94f0c 100644 (file)
--- a/x264.c
+++ b/x264.c
@@ -806,7 +806,7 @@ static struct option long_options[] =
     { "mixed-refs",        no_argument, NULL, 0 },
     { "no-mixed-refs",     no_argument, NULL, 0 },
     { "no-chroma-me",      no_argument, NULL, 0 },
-    { "8x8dct",            no_argument, NULL, 0 },
+    { "8x8dct",            no_argument, NULL, '8' },
     { "no-8x8dct",         no_argument, NULL, 0 },
     { "trellis",     required_argument, NULL, 't' },
     { "fast-pskip",        no_argument, NULL, 0 },
@@ -814,8 +814,8 @@ static struct option long_options[] =
     { "no-dct-decimate",   no_argument, NULL, 0 },
     { "aq-strength", required_argument, NULL, 0 },
     { "aq-mode",     required_argument, NULL, 0 },
-    { "deadzone-inter", required_argument, NULL, '0' },
-    { "deadzone-intra", required_argument, NULL, '0' },
+    { "deadzone-inter", required_argument, NULL, 0 },
+    { "deadzone-intra", required_argument, NULL, 0 },
     { "level",       required_argument, NULL, 0 },
     { "ratetol",     required_argument, NULL, 0 },
     { "vbv-maxrate", required_argument, NULL, 0 },