Mercurial > libavcodec.hg
changeset 11440:61ac6e255046 libavcodec
aacsbr: Dead code removal.
author | alexc |
---|---|
date | Tue, 09 Mar 2010 11:14:14 +0000 |
parents | 121d700285e7 |
children | 08cf37a058f4 |
files | aacsbr.c |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/aacsbr.c Tue Mar 09 11:13:45 2010 +0000 +++ b/aacsbr.c Tue Mar 09 11:14:14 2010 +0000 @@ -718,18 +718,12 @@ } else if (ch_data->bs_frame_class > 1) { // VARFIX or VARVAR for (i = 0; i < num_rel_lead; i++) ch_data->t_env[i + 1] = ch_data->t_env[i] + bs_rel_bord[0][i]; - } else { // FIXVAR - for (i = 0; i < num_rel_lead; i++) - ch_data->t_env[i + 1] = abs_bord_lead; } if (ch_data->bs_frame_class & 1) { // FIXVAR or VARVAR for (i = ch_data->bs_num_env[1] - 1; i > num_rel_lead; i--) ch_data->t_env[i] = ch_data->t_env[i + 1] - bs_rel_bord[1][ch_data->bs_num_env[1] - 1 - i]; - } else { // FIXFIX or VARFIX - for (i = num_rel_lead; i < ch_data->bs_num_env[1]; i++) - ch_data->t_env[i + 1] = abs_bord_trail; } ch_data->bs_num_noise = (ch_data->bs_num_env[1] > 1) + 1;