shithub: aacenc

Download patch

ref: ba6ce2f5c69597c95ed383b4a969ec104b1183de
parent: 64c30f5804c755993fe0f711c6f6341ef5271863
author: menno <menno>
date: Sun Feb 27 14:01:54 EST 2000

Changed short block quantization

--- a/aac_qc.c
+++ b/aac_qc.c
@@ -915,6 +915,7 @@
 					worstISMR += (PsySigMaskRatio[bandNum] > 0)?PsySigMaskRatio[bandNum]:worstISMR;
 				}
 			}
+			worstISMR /= 2.0;
 			SigMaskRatio[k+ i* *nr_of_sfb]=worstISMR/window_group_length[i];
 			sfb_offset[index] = sfb_offset[index-1] + sfb_width_table[k]*window_group_length[i] ;
 			index++;