shithub: opus-tools

Download patch

ref: 7cebd223c7135263f89627a8aa1aaeeace75be0c
parent: 686823647f4b0971c685865e14b5cd0422c8fdd0
author: Ralph Giles <giles@mozilla.com>
date: Wed Nov 6 10:11:24 EST 2013

Destination and port switches require arguments.

Missed this in review.

--- a/src/opusrtp.c
+++ b/src/opusrtp.c
@@ -875,8 +875,8 @@
     {"help", no_argument, NULL, 'h'},
     {"version", no_argument, NULL, 'V'},
     {"quiet", no_argument, NULL, 'q'},
-    {"destination", optional_argument, NULL, 'd'},
-    {"port", optional_argument, NULL, 'p'},
+    {"destination", required_argument, NULL, 'd'},
+    {"port", required_argument, NULL, 'p'},
     {"sniff", no_argument, NULL, 0},
     {0, 0, 0, 0}
   };