[FFmpeg-cvslog] commit: cosmetics: spacing, line wrap, and remove unneeded braces ( Justin Ruggles )

git at videolan.org git
Sat Jan 15 13:06:38 CET 2011


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Sat Jan 15 01:59:31 2011 +0000| [0db5d2b09e9a291999a081dac42cff69b9ea9f5d] | committer: Justin Ruggles 

cosmetics: spacing, line wrap, and remove unneeded braces

Originally committed as revision 26359 to svn://svn.ffmpeg.org/ffmpeg/trunk

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0db5d2b09e9a291999a081dac42cff69b9ea9f5d
---

 libavcodec/ac3enc.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index 9b8efaa..e59916c 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -611,16 +611,15 @@ static void encode_exponents(AC3EncodeContext *s)
             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