ref: f82199b1047e896abadc5527a4837ede2a995ba9
parent: 9b957b19f95515b9ec920e3d522fba1cf2856023
author: Gregory Maxwell <greg@xiph.org>
date: Sat Jun 29 10:22:39 EDT 2013
Opus-tools now requires libopus 1.0.3 or later. This updates the configure.ac requirements for the last patch from JM, and also fixes the unused variable warnings it created.
--- a/configure.ac
+++ b/configure.ac
@@ -133,7 +133,7 @@
dnl check for Opus
AS_IF([test "$HAVE_PKG_CONFIG" = "yes"],
- [PKG_CHECK_MODULES([OPUS],[opus >= 0.9.10])],
+ [PKG_CHECK_MODULES([OPUS],[opus >= 1.0.3])],
[
dnl fall back to the old school test
XIPH_PATH_OPUS(, AC_MSG_ERROR([
--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -266,7 +266,6 @@
{"serial", required_argument, NULL, 0},
{"save-range", required_argument, NULL, 0},
{"set-ctl-int", required_argument, NULL, 0},
- {"uncoupled", no_argument, NULL, 0},
{"help", no_argument, NULL, 0},
{"raw", no_argument, NULL, 0},
{"raw-bits", required_argument, NULL, 0},
@@ -341,7 +340,6 @@
int expect_loss=0;
int complexity=10;
int downmix=0;
- int uncoupled=0;
int *opt_ctls_ctlval;
int opt_ctls=0;
int max_ogg_delay=48000; /*48kHz samples*/
@@ -529,8 +527,6 @@
exit(1);
}
range_file=optarg;
- }else if(strcmp(long_options[option_index].name,"uncoupled")==0){
- uncoupled=1;
}else if(strcmp(long_options[option_index].name,"comment")==0){
save_cmd=0;
if(!strchr(optarg,'=')){