Mercurial > libavcodec.hg
changeset 261:d6521bbbab5e libavcodec
- Bug fix on output sample rate for lame MP3 encoding.
author | pulento |
---|---|
date | Sun, 10 Mar 2002 15:16:41 +0000 |
parents | e1bacfb3f51f |
children | 7d941b8c4e84 |
files | mp3lameaudio.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mp3lameaudio.c Sun Mar 10 14:58:53 2002 +0000 +++ b/mp3lameaudio.c Sun Mar 10 15:16:41 2002 +0000 @@ -42,6 +42,7 @@ if ((s->gfp = lame_init()) == NULL) goto err; lame_set_in_samplerate(s->gfp, avctx->sample_rate); + lame_set_out_samplerate(s->gfp, avctx->sample_rate); lame_set_num_channels(s->gfp, avctx->channels); /* lame 3.91 dies on quality != 5 */ lame_set_quality(s->gfp, 5);