changeset 10280:9e91066235c8 libavcodec

simplify by combining increment with array access
author jbr
date Sun, 27 Sep 2009 04:37:00 +0000
parents fa3c28329d2f
children 520c39d4b970
files ac3.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ac3.c	Sun Sep 27 04:32:31 2009 +0000
+++ b/ac3.c	Sun Sep 27 04:37:00 2009 +0000
@@ -109,8 +109,7 @@
     j=start;
     k=bin_to_band_tab[start];
     do {
-        v=psd[j];
-        j++;
+        v = psd[j++];
         end1 = FFMIN(band_start_tab[k+1], end);
         for (; j < end1; j++) {
             /* logadd */