# HG changeset patch # User jbr # Date 1254272997 0 # Node ID 6bca3f74d77d521e59f36d190bdb78f06dc76d53 # Parent 7f609ddb85bfa6e57e4b3918fd4d8f79799c5aea remove unneeded assignment in inner loop. rematrixing bands are contiguous. diff -r 7f609ddb85bf -r 6bca3f74d77d ac3dec.c --- a/ac3dec.c Tue Sep 29 19:18:51 2009 +0000 +++ b/ac3dec.c Wed Sep 30 01:09:57 2009 +0000 @@ -608,10 +608,11 @@ end = FFMIN(s->end_freq[1], s->end_freq[2]); + i = ff_ac3_rematrix_band_tab[0]; for(bnd=0; bndnum_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]; ifixed_coeffs[1][i]; tmp1 = s->fixed_coeffs[2][i]; s->fixed_coeffs[1][i] = tmp0 + tmp1;