diff options
-rw-r--r-- | src/opus_encoder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opus_encoder.c b/src/opus_encoder.c index 3a1cdc4b..17164b68 100644 --- a/src/opus_encoder.c +++ b/src/opus_encoder.c @@ -333,6 +333,7 @@ void opus_encoder_ctl(OpusEncoder *st, int request, ...) { int value = va_arg(ap, int); st->silk_mode.complexity = value; + celt_encoder_ctl(st->celt_enc, CELT_SET_COMPLEXITY(value)); } break; case OPUS_GET_COMPLEXITY_REQUEST: |