[SCM] libav/experimental: cosmetics: remove unneeded braces

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:21:55 UTC 2013


The following commit has been merged in the experimental branch:
commit a281c6509f20e3391d10dbcd32fa8b72065bf5bc
Author: Justin Ruggles <justin.ruggles at gmail.com>
Date:   Sat Jan 15 01:58:59 2011 +0000

    cosmetics: remove unneeded braces
    
    Originally committed as revision 26354 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index 1a070d0..fe93337 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -642,9 +642,8 @@ static void group_exponents(AC3EncodeContext *s)
     for (blk = 0; blk < AC3_MAX_BLOCKS; blk++) {
         AC3Block *block = &s->blocks[blk];
         for (ch = 0; ch < s->channels; ch++) {
-            if (s->exp_strategy[ch][blk] == EXP_REUSE) {
+            if (s->exp_strategy[ch][blk] == EXP_REUSE)
                 continue;
-            }
             group_size = s->exp_strategy[ch][blk] + (s->exp_strategy[ch][blk] == EXP_D45);
             nb_groups = exponent_group_tab[s->exp_strategy[ch][blk]-1][s->nb_coefs[ch]];
             bit_count += 4 + (nb_groups * 7);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list