Mercurial > libavcodec.hg
changeset 9538:b76f2d264edb libavcodec
Remove redundant code, found by CSA
author | banan |
---|---|
date | Wed, 22 Apr 2009 13:52:33 +0000 |
parents | 654f5260a87d |
children | 8178935a95d0 |
files | qdm2.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/qdm2.c Wed Apr 22 05:20:31 2009 +0000 +++ b/qdm2.c Wed Apr 22 13:52:33 2009 +0000 @@ -707,8 +707,7 @@ for (sb = 0; sb < 30; sb++) for (j = 0; j < 64; j++) acc += tone_level_idx_temp[ch][sb][j]; - if (acc) - tmp = c * 256 / (acc & 0xffff); + multres = 0x66666667 * (acc * 10); esp_40 = (multres >> 32) / 8 + ((multres & 0xffffffff) >> 31); for (ch = 0; ch < nb_channels; ch++) @@ -1835,7 +1834,6 @@ extradata += 4; s->checksum_size = AV_RB32(extradata); - extradata += 4; s->fft_order = av_log2(s->fft_size) + 1; s->fft_frame_size = 2 * s->fft_size; // complex has two floats