summaryrefslogtreecommitdiff
path: root/libavcodec/psymodel.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-07-08 21:36:33 +0000
committerDiego Biurrun <diego@biurrun.de>2009-07-08 21:36:33 +0000
commitc8f47d8b79b7ac82cd2bff6ffcc9d5168ad7e571 (patch)
treecbb26f2f7fe72e5d10d34b5881099e66cf9afad8 /libavcodec/psymodel.c
parent99d61d340ce9b3fee4924c6719d9bf40f1766d42 (diff)
cosmetics: Remove unnecessary {} around if/for blocks;
move statements after if/for to the next line. Originally committed as revision 19378 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/psymodel.c')
-rw-r--r--libavcodec/psymodel.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/psymodel.c b/libavcodec/psymodel.c
index 048f270467..17c1a41f4b 100644
--- a/libavcodec/psymodel.c
+++ b/libavcodec/psymodel.c
@@ -105,16 +105,14 @@ void ff_psy_preprocess(struct FFPsyPreprocessContext *ctx,
{
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];
- }
}
}