changeset 12100:0cf4845d0d74

Remove spurious +1 to lame_param_quality that contradicts documentation and expectations. patch by Charles Wilcox <willo@wpi.edu>
author diego
date Fri, 02 Apr 2004 03:44:30 +0000
parents 8dedd440c31c
children d6ac3181fdca
files mencoder.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mencoder.c	Fri Apr 02 02:15:41 2004 +0000
+++ b/mencoder.c	Fri Apr 02 03:44:30 2004 +0000
@@ -1007,7 +1007,7 @@
 lame_set_quality(lame,lame_param_algqual); // 0 = best q
 if(lame_param_vbr){  // VBR:
     lame_set_VBR(lame,lame_param_vbr); // vbr mode
-    lame_set_VBR_q(lame,lame_param_quality+1); // 1 = best vbr q  6=~128k
+    lame_set_VBR_q(lame,lame_param_quality); // 0 = best vbr q  5=~128k
     if(lame_param_br>0) lame_set_VBR_mean_bitrate_kbps(lame,lame_param_br);
 } else {    // CBR:
     if(lame_param_br>0) lame_set_brate(lame,lame_param_br);