Browse Source

MT#55283 fix copy/pasto

Change-Id: I251d6a6833ef2bc1c26002286f0d6fe712810207
rfuchs/gh1842
Richard Fuchs 1 year ago
parent
commit
99fa79eef8
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      lib/codeclib.c

+ 4
- 4
lib/codeclib.c View File

@ -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;
}


Loading…
Cancel
Save