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