summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2010-12-14 14:52:04 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-12-14 14:52:04 +0000
commite8b552a818b0fcb2bbc779f2ba521aa21ad4ce5e (patch)
tree7d131cc9cfeb8f52b957649e35f37df723f0b6c6 /libavcodec
parentce67b7cd386d70c0926dcf8456c9d5cce95dc57a (diff)
cosmetics: pretty-printing
Originally committed as revision 25974 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ac3enc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index a794570520..a7211c1a86 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -1304,7 +1304,7 @@ static av_cold int ac3_encode_init(AVCodecContext *avctx)
s->frame_size = s->frame_size_min;
/* set bandwidth */
- if(avctx->cutoff) {
+ if (avctx->cutoff) {
/* calculate bandwidth based on user-specified cutoff frequency */
int cutoff = av_clip(avctx->cutoff, 1, s->sample_rate >> 1);
int fbw_coeffs = cutoff * 2 * AC3_MAX_COEFS / s->sample_rate;
@@ -1315,7 +1315,7 @@ static av_cold int ac3_encode_init(AVCodecContext *avctx)
size, so that we avoid annoying high frequency artifacts */
bw_code = 50;
}
- for(ch=0;ch<s->fbw_channels;ch++) {
+ for (ch = 0; ch < s->fbw_channels; ch++) {
/* bandwidth for each channel */
s->bandwidth_code[ch] = bw_code;
s->nb_coefs[ch] = bw_code * 3 + 73;