# HG changeset patch # User jbr # Date 1234217488 0 # Node ID 0960d775e97b746399642508a10ca5a5a9f73c06 # Parent 56c41adae7d82a3938101a5b3461c8970960f977 libvorbis: Use 0-10 range for audio quality. Patch by Nicolas George (nicolas george normalesup org) diff -r 56c41adae7d8 -r 0960d775e97b libvorbis.c --- a/libvorbis.c Mon Feb 09 22:04:34 2009 +0000 +++ b/libvorbis.c Mon Feb 09 22:11:28 2009 +0000 @@ -57,7 +57,7 @@ /* 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 */