Commit d6d7657e authored by jbr's avatar jbr

remove unneeded assignment in inner loop. rematrixing bands are contiguous.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20089 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8663440d
......@@ -608,10 +608,11 @@ static void do_rematrixing(AC3DecodeContext *s)
end = FFMIN(s->end_freq[1], s->end_freq[2]);
i = ff_ac3_rematrix_band_tab[0];
for(bnd=0; bnd<s->num_rematrixing_bands; bnd++) {
if(s->rematrixing_flags[bnd]) {
bndend = FFMIN(end, ff_ac3_rematrix_band_tab[bnd+1]);
for(i=ff_ac3_rematrix_band_tab[bnd]; i<bndend; i++) {
for(; i<bndend; i++) {
tmp0 = s->fixed_coeffs[1][i];
tmp1 = s->fixed_coeffs[2][i];
s->fixed_coeffs[1][i] = tmp0 + tmp1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment