diff psymodel.c @ 9938:6c1ac45b3097 libavcodec

cosmetics: Remove unnecessary {} around if/for blocks; move statements after if/for to the next line.
author diego
date Wed, 08 Jul 2009 21:36:33 +0000
parents 3e39dbd2d9eb
children a79d7debe431
line wrap: on
line diff
--- a/psymodel.c	Wed Jul 08 21:16:06 2009 +0000
+++ b/psymodel.c	Wed Jul 08 21:36:33 2009 +0000
@@ -105,16 +105,14 @@
 {
     int ch, i;
     if (ctx->fstate) {
-        for (ch = 0; ch < channels; ch++) {
+        for (ch = 0; ch < channels; ch++)
             ff_iir_filter(ctx->fcoeffs, ctx->fstate[tag+ch], ctx->avctx->frame_size,
                           audio + ch, ctx->avctx->channels,
                           dest  + ch, ctx->avctx->channels);
-        }
     } else {
-        for (ch = 0; ch < channels; ch++) {
+        for (ch = 0; ch < channels; ch++)
             for (i = 0; i < ctx->avctx->frame_size; i++)
                 dest[i*ctx->avctx->channels + ch] = audio[i*ctx->avctx->channels + ch];
-        }
     }
 }