[FFmpeg-cvslog] commit: cosmetics: remove unneeded braces (Justin Ruggles )
git at videolan.org
git
Sat Jan 15 13:06:37 CET 2011
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Sat Jan 15 01:58:59 2011 +0000| [a281c6509f20e3391d10dbcd32fa8b72065bf5bc] | committer: Justin Ruggles
cosmetics: remove unneeded braces
Originally committed as revision 26354 to svn://svn.ffmpeg.org/ffmpeg/trunk
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a281c6509f20e3391d10dbcd32fa8b72065bf5bc
---
libavcodec/ac3enc.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
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);
More information about the ffmpeg-cvslog
mailing list