ref: 4e8a9ae7beaf0c3117b1b0e6f0f493e5344a0b15
parent: 4f76bbc1136104da2e30108dddd01567e824172c
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Tue Feb 6 09:33:44 EST 2018
ope_encoder_deferred_init_with_mapping() no longer takes family 0
--- a/src/opusenc.c
+++ b/src/opusenc.c
@@ -406,7 +406,7 @@
return OPE_TOO_LATE;
}
if (family < 0 || family > 255) return OPE_BAD_ARG;
- else if (family != 0 && family != 1 && family != 255) return OPE_UNIMPLEMENTED;
+ else if (family != 1 && family != 255) return OPE_UNIMPLEMENTED;
else if (streams <= 0 || streams>255 || coupled_streams<0 || coupled_streams >= 128 || streams+coupled_streams > 255) return OPE_BAD_ARG;
st=opus_multistream_encoder_create(48000, enc->channels, streams, coupled_streams, mapping, OPUS_APPLICATION_AUDIO, &ret);
if (! (ret == OPUS_OK && st != NULL) ) {