diff options
author | Nicolas George <nicola.george@normalesup.org> | 2009-02-09 22:11:28 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2009-02-09 22:11:28 +0000 |
commit | 05276956ce3c7743f8d9cd1bb27b7d0930279d18 (patch) | |
tree | 2b53362b599b79b498715bfb60c0abd245bd2e53 /libavcodec | |
parent | a5037227501dc4f7528684beecee954360cbd7dd (diff) | |
download | ffmpeg-05276956ce3c7743f8d9cd1bb27b7d0930279d18.tar.gz |
libvorbis: Use 0-10 range for audio quality.
Patch by Nicolas George (nicolas george normalesup org)
Originally committed as revision 17107 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/libvorbis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvorbis.c b/libavcodec/libvorbis.c index d8cba52c7e..6a5044147c 100644 --- a/libavcodec/libvorbis.c +++ b/libavcodec/libvorbis.c @@ -57,7 +57,7 @@ static int oggvorbis_init_encoder(vorbis_info *vi, AVCodecContext *avccontext) { /* variable bitrate */ if(vorbis_encode_setup_vbr(vi, avccontext->channels, avccontext->sample_rate, - avccontext->global_quality / (float)FF_QP2LAMBDA)) + avccontext->global_quality / (float)FF_QP2LAMBDA / 10.0)) return -1; } else { /* constant bitrate */ |