diff options
author | Alex Converse <alex.converse@gmail.com> | 2010-03-09 14:14:14 +0300 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2010-03-09 14:14:14 +0300 |
commit | 5889172087ebda6a7d456b2e9b54cf40554c7a28 (patch) | |
tree | 2c4f3cf63e074b394faa7bfd6e74972d9d9b1ad2 /libavcodec/aacsbr.c | |
parent | afd96c345fcbca594932416cd6139be0fcb7480f (diff) |
aacsbr: Dead code removal.
Originally committed as revision 22387 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aacsbr.c')
-rw-r--r-- | libavcodec/aacsbr.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c index 76fcae86d6..a1e57ee31c 100644 --- a/libavcodec/aacsbr.c +++ b/libavcodec/aacsbr.c @@ -718,18 +718,12 @@ static int read_sbr_grid(AACContext *ac, SpectralBandReplication *sbr, } 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; |