[FFmpeg-soc] [soc]: r5122 - als/alsdec.c
thilo.borgmann
subversion at mplayerhq.hu
Sat Aug 15 13:35:39 CEST 2009
Author: thilo.borgmann
Date: Sat Aug 15 13:35:38 2009
New Revision: 5122
Log:
Replaced dubious comment formulations.
Modified:
als/alsdec.c
Modified: als/alsdec.c
==============================================================================
--- als/alsdec.c Sat Aug 15 13:33:24 2009 (r5121)
+++ als/alsdec.c Sat Aug 15 13:35:38 2009 (r5122)
@@ -565,7 +565,7 @@ static int read_block_data(ALSDecContext
quant_index = get_bits(gb, 7) - 64;
quant_cof[1] = -parcor_scaled_values[quant_index + 64];
- // read coefficients 2 - opt_order
+ // read coefficients 2 to opt_order
for (k = 2; k < opt_order; k++) {
quant_index = get_bits(gb, 7) - 64;
quant_cof[k] = (quant_index << 14) + (1 << 13);
@@ -585,7 +585,7 @@ static int read_block_data(ALSDecContext
quant_index = decode_rice(gb, rice_param) + offset;
quant_cof[1] = -parcor_scaled_values[quant_index + 64];
- // read coefficients 2 - 19
+ // read coefficients 2 to 19
k_max = FFMIN(20, opt_order);
for (k = 2; k < k_max; k++) {
offset = parcor_rice_table[sconf->coef_table][k][0];
@@ -594,7 +594,7 @@ static int read_block_data(ALSDecContext
quant_cof[k] = (quant_index << 14) + (1 << 13);
}
- // read coefficients 20 - 126
+ // read coefficients 20 to 126
k_max = FFMIN(127, opt_order);
for (k = 20; k < k_max; k++) {
offset = k & 1;
@@ -603,7 +603,7 @@ static int read_block_data(ALSDecContext
quant_cof[k] = (quant_index << 14) + (1 << 13);
}
- // read coefficients 127 - opt_order
+ // read coefficients 127 to opt_order
for (k = 127; k < opt_order; k++) {
offset = 0;
rice_param = 1;
More information about the FFmpeg-soc
mailing list