Skip to content

Commit dd8c73e

Browse files
committed
MT#55283 fix copy/pasto
Change-Id: I251d6a6833ef2bc1c26002286f0d6fe712810207 (cherry picked from commit 99fa79e)
1 parent 428811c commit dd8c73e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/codeclib.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2174,19 +2174,19 @@ static const char *libopus_encoder_init(encoder_t *enc, const str *extra_opts) {
21742174
err = opus_encoder_ctl(enc->opus, OPUS_SET_VBR(opts.vbr));
21752175
if (err != OPUS_OK)
21762176
ilog(LOG_WARN | LOG_FLAG_LIMIT, "Failed to set Opus VBR to %i': %s",
2177-
opts.complexity, opus_strerror(err));
2177+
opts.vbr, opus_strerror(err));
21782178
err = opus_encoder_ctl(enc->opus, OPUS_SET_VBR_CONSTRAINT(opts.vbr_constraint));
21792179
if (err != OPUS_OK)
21802180
ilog(LOG_WARN | LOG_FLAG_LIMIT, "Failed to set Opus VBR constraint to %i': %s",
2181-
opts.complexity, opus_strerror(err));
2181+
opts.vbr_constraint, opus_strerror(err));
21822182
err = opus_encoder_ctl(enc->opus, OPUS_SET_PACKET_LOSS_PERC(opts.pl));
21832183
if (err != OPUS_OK)
21842184
ilog(LOG_WARN | LOG_FLAG_LIMIT, "Failed to set Opus PL%% to %i': %s",
2185-
opts.complexity, opus_strerror(err));
2185+
opts.pl, opus_strerror(err));
21862186
err = opus_encoder_ctl(enc->opus, OPUS_SET_INBAND_FEC(enc->format_options.opus.fec_send >= 0));
21872187
if (err != OPUS_OK)
21882188
ilog(LOG_WARN | LOG_FLAG_LIMIT, "Failed to set Opus FEC to %i': %s",
2189-
opts.complexity, opus_strerror(err));
2189+
enc->format_options.opus.fec_send >= 0, opus_strerror(err));
21902190

21912191
return NULL;
21922192
}

0 commit comments

Comments
 (0)