Browse Source

libtwolame: add forgotten calls

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.0
Paul B Mahol 12 years ago
parent
commit
e5c7bafb44
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/libtwolame.c

+ 2
- 0
libavcodec/libtwolame.c View File

@@ -67,6 +67,8 @@ static av_cold int twolame_encode_init(AVCodecContext *avctx)
twolame_set_psymodel(s->glopts, s->psymodel); twolame_set_psymodel(s->glopts, s->psymodel);
twolame_set_energy_levels(s->glopts, s->energy); twolame_set_energy_levels(s->glopts, s->energy);
twolame_set_error_protection(s->glopts, s->error_protection); twolame_set_error_protection(s->glopts, s->error_protection);
twolame_set_copyright(s->glopts, s->copyright);
twolame_set_original(s->glopts, s->original);


twolame_set_num_channels(s->glopts, avctx->channels); twolame_set_num_channels(s->glopts, avctx->channels);
twolame_set_in_samplerate(s->glopts, avctx->sample_rate); twolame_set_in_samplerate(s->glopts, avctx->sample_rate);


Loading…
Cancel
Save