summaryrefslogtreecommitdiff
path: root/libavcodec/ac3enc.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-01-15 01:58:59 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2011-01-15 01:58:59 +0000
commita281c6509f20e3391d10dbcd32fa8b72065bf5bc (patch)
treec9027eb70bee4d0316cc0ae591c68fc1fd410e5e /libavcodec/ac3enc.c
parent5fc2e0075d4d82922c3a6b43ec810f5269ec6966 (diff)
cosmetics: remove unneeded braces
Originally committed as revision 26354 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r--libavcodec/ac3enc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index 1a070d0e5c..fe93337b72 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);