Commit 0db5d2b0 authored by Justin Ruggles's avatar Justin Ruggles

cosmetics: spacing, line wrap, and remove unneeded braces

Originally committed as revision 26359 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 964f2cf2
...@@ -611,16 +611,15 @@ static void encode_exponents(AC3EncodeContext *s) ...@@ -611,16 +611,15 @@ static void encode_exponents(AC3EncodeContext *s)
blk1 = blk + 1; blk1 = blk + 1;
/* count the number of EXP_REUSE blocks after the current block */ /* 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++; blk1++;
}
num_reuse_blocks = blk1 - blk - 1; num_reuse_blocks = blk1 - blk - 1;
/* for the EXP_REUSE case we select the min of the exponents */ /* for the EXP_REUSE case we select the min of the exponents */
exponent_min(exp, num_reuse_blocks, nb_coefs); exponent_min(exp, num_reuse_blocks, nb_coefs);
encode_exponents_blk_ch(exp, nb_coefs, encode_exponents_blk_ch(exp, nb_coefs, exp_strategy[blk]);
exp_strategy[blk]);
/* copy encoded exponents for reuse case */ /* copy encoded exponents for reuse case */
exp1 = exp + AC3_MAX_COEFS; exp1 = exp + AC3_MAX_COEFS;
while (blk < blk1-1) { while (blk < blk1-1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment