[FFmpeg-cvslog] r17107 - trunk/libavcodec/libvorbis.c
jbr
subversion
Mon Feb 9 23:11:28 CET 2009
Author: jbr
Date: Mon Feb 9 23:11:28 2009
New Revision: 17107
Log:
libvorbis: Use 0-10 range for audio quality.
Patch by Nicolas George (nicolas george normalesup org)
Modified:
trunk/libavcodec/libvorbis.c
Modified: trunk/libavcodec/libvorbis.c
==============================================================================
--- trunk/libavcodec/libvorbis.c Mon Feb 9 23:04:34 2009 (r17106)
+++ trunk/libavcodec/libvorbis.c Mon Feb 9 23:11:28 2009 (r17107)
@@ -57,7 +57,7 @@ static int oggvorbis_init_encoder(vorbis
/* 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 */
More information about the ffmpeg-cvslog
mailing list