Browse Source

Simplify by combining increment with array access.

Originally committed as revision 20041 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Justin Ruggles 15 years ago
parent
commit
bf8643838b
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/ac3.c

+ 1
- 2
libavcodec/ac3.c View File

@@ -116,8 +116,7 @@ void ff_ac3_bit_alloc_calc_psd(int8_t *exp, int start, int end, int16_t *psd,
int adr = FFMIN(FFABS(v - psd[bin]) >> 1, 255);
v = FFMAX(v, psd[bin]) + ff_ac3_log_add_tab[adr];
}
band_psd[band] = v;
band++;
band_psd[band++] = v;
} while (end > band_start_tab[band]);
}



Loading…
Cancel
Save