[FFmpeg-cvslog] r26359 - trunk/libavcodec/ac3enc.c

jbr subversion
Sat Jan 15 02:59:31 CET 2011


Author: jbr
Date: Sat Jan 15 02:59:31 2011
New Revision: 26359

Log:
cosmetics: spacing, line wrap, and remove unneeded braces

Modified:
   trunk/libavcodec/ac3enc.c

Modified: trunk/libavcodec/ac3enc.c
==============================================================================
--- trunk/libavcodec/ac3enc.c	Sat Jan 15 02:59:21 2011	(r26358)
+++ trunk/libavcodec/ac3enc.c	Sat Jan 15 02:59:31 2011	(r26359)
@@ -611,16 +611,15 @@ static void encode_exponents(AC3EncodeCo
             blk1 = blk + 1;
 
             /* count the number of EXP_REUSE blocks after the current block */
-            while (blk1 < AC3_MAX_BLOCKS && exp_strategy[blk1] == EXP_REUSE) {
+            while (blk1 < AC3_MAX_BLOCKS && exp_strategy[blk1] == EXP_REUSE)
                 blk1++;
-            }
             num_reuse_blocks = blk1 - blk - 1;
 
             /* for the EXP_REUSE case we select the min of the exponents */
             exponent_min(exp, num_reuse_blocks, nb_coefs);
 
-            encode_exponents_blk_ch(exp, nb_coefs,
-                                    exp_strategy[blk]);
+            encode_exponents_blk_ch(exp, nb_coefs, exp_strategy[blk]);
+
             /* copy encoded exponents for reuse case */
             exp1 = exp + AC3_MAX_COEFS;
             while (blk < blk1-1) {



More information about the ffmpeg-cvslog mailing list