[FFmpeg-cvslog] r20038 - trunk/libavcodec/ac3.c

jbr subversion
Sun Sep 27 06:37:00 CEST 2009


Author: jbr
Date: Sun Sep 27 06:37:00 2009
New Revision: 20038

Log:
simplify by combining increment with array access

Modified:
   trunk/libavcodec/ac3.c

Modified: trunk/libavcodec/ac3.c
==============================================================================
--- trunk/libavcodec/ac3.c	Sun Sep 27 06:32:31 2009	(r20037)
+++ trunk/libavcodec/ac3.c	Sun Sep 27 06:37:00 2009	(r20038)
@@ -109,8 +109,7 @@ void ff_ac3_bit_alloc_calc_psd(int8_t *e
     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 */



More information about the ffmpeg-cvslog mailing list