From 99fa79eef87bd1ec3d429f9e9905941e37975c36 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 22 Jul 2024 11:45:40 -0400 Subject: [PATCH] MT#55283 fix copy/pasto Change-Id: I251d6a6833ef2bc1c26002286f0d6fe712810207 --- lib/codeclib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/codeclib.c b/lib/codeclib.c index 5bd1860c4..726083cf4 100644 --- a/lib/codeclib.c +++ b/lib/codeclib.c @@ -2408,19 +2408,19 @@ static const char *libopus_encoder_init(encoder_t *enc, const str *extra_opts) { err = opus_encoder_ctl(enc->opus, OPUS_SET_VBR(opts.vbr)); if (err != OPUS_OK) ilog(LOG_WARN | LOG_FLAG_LIMIT, "Failed to set Opus VBR to %i': %s", - opts.complexity, opus_strerror(err)); + opts.vbr, opus_strerror(err)); err = opus_encoder_ctl(enc->opus, OPUS_SET_VBR_CONSTRAINT(opts.vbr_constraint)); if (err != OPUS_OK) ilog(LOG_WARN | LOG_FLAG_LIMIT, "Failed to set Opus VBR constraint to %i': %s", - opts.complexity, opus_strerror(err)); + opts.vbr_constraint, opus_strerror(err)); err = opus_encoder_ctl(enc->opus, OPUS_SET_PACKET_LOSS_PERC(opts.pl)); if (err != OPUS_OK) ilog(LOG_WARN | LOG_FLAG_LIMIT, "Failed to set Opus PL%% to %i': %s", - opts.complexity, opus_strerror(err)); + opts.pl, opus_strerror(err)); err = opus_encoder_ctl(enc->opus, OPUS_SET_INBAND_FEC(enc->format_options.opus.fec_send >= 0)); if (err != OPUS_OK) ilog(LOG_WARN | LOG_FLAG_LIMIT, "Failed to set Opus FEC to %i': %s", - opts.complexity, opus_strerror(err)); + enc->format_options.opus.fec_send >= 0, opus_strerror(err)); return NULL; }