libtwolame: add forgotten calls

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2013-05-26 21:57:28 +00:00
parent b439ece51c
commit e5c7bafb44

View File

@ -67,6 +67,8 @@ static av_cold int twolame_encode_init(AVCodecContext *avctx)
twolame_set_psymodel(s->glopts, s->psymodel);
twolame_set_energy_levels(s->glopts, s->energy);
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_in_samplerate(s->glopts, avctx->sample_rate);