[FFmpeg-cvslog] r25974 - trunk/libavcodec/ac3enc.c

jbr subversion
Tue Dec 14 15:52:05 CET 2010


Author: jbr
Date: Tue Dec 14 15:52:04 2010
New Revision: 25974

Log:
cosmetics: pretty-printing

Modified:
   trunk/libavcodec/ac3enc.c

Modified: trunk/libavcodec/ac3enc.c
==============================================================================
--- trunk/libavcodec/ac3enc.c	Tue Dec 14 15:52:00 2010	(r25973)
+++ trunk/libavcodec/ac3enc.c	Tue Dec 14 15:52:04 2010	(r25974)
@@ -1304,7 +1304,7 @@ static av_cold int ac3_encode_init(AVCod
     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(AVCod
            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;



More information about the ffmpeg-cvslog mailing list