diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2007-08-19 20:34:27 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2007-08-19 20:34:27 +0000 |
commit | 622d6332606d676978fd11f8c1ae8f9c5a8535ff (patch) | |
tree | 9b6f67ae1dc331f5ded15e1edb7e3340dae55377 /libavcodec/adpcm.c | |
parent | 1cbe9d6a780d27a790ec2fd2d5bf5ae6edef10ff (diff) | |
download | ffmpeg-622d6332606d676978fd11f8c1ae8f9c5a8535ff.tar.gz |
Cosmetics, indentation.
Originally committed as revision 10145 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r-- | libavcodec/adpcm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index feeeb5c6b1..d5fa6bcb61 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -543,10 +543,10 @@ static int adpcm_encode_frame(AVCodecContext *avctx, put_bits(&pb, 4, buf[1][i]); } } else { - for (i=1; i<avctx->frame_size; i++) { - put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[0], samples[avctx->channels*i]) & 0xF); - if (avctx->channels == 2) - put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[1], samples[2*i+1]) & 0xF); + for (i=1; i<avctx->frame_size; i++) { + put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[0], samples[avctx->channels*i]) & 0xF); + if (avctx->channels == 2) + put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[1], samples[2*i+1]) & 0xF); } } flush_put_bits(&pb); |