summaryrefslogtreecommitdiff
path: root/libavcodec/mace.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-09-05 00:01:23 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-09-05 00:01:23 +0000
commite10049bef5384fc64e5b249118da968a6c8dffe7 (patch)
tree749ab433dc5193339fb7433dd8b632d842b3de3c /libavcodec/mace.c
parent1b0dc0120d97377cddcafa0467a424df71c876dd (diff)
Cosmetics: indent after last commit and remove useless braces
Originally committed as revision 15214 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mace.c')
-rw-r--r--libavcodec/mace.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/libavcodec/mace.c b/libavcodec/mace.c
index 79967f6a5b..2e6ff7c256 100644
--- a/libavcodec/mace.c
+++ b/libavcodec/mace.c
@@ -324,14 +324,13 @@ static int mace3_decode_frame(AVCodecContext *avctx,
ctx->outPtr = samples + i;
- for (j=0; j < buf_size / 2 / avctx->channels; j++) {
+ for (j=0; j < buf_size / 2 / avctx->channels; j++)
for (k=0; k < 2; k++) {
- uint8_t pkt = buf[i*2 + j*2*avctx->channels + k];
- chomp3(ctx, pkt & 7, MACEtab1, MACEtab2, avctx->channels);
- chomp3(ctx,(pkt >> 3) & 3, MACEtab3, MACEtab4, avctx->channels);
- chomp3(ctx, pkt >> 5 , MACEtab1, MACEtab2, avctx->channels);
+ uint8_t pkt = buf[i*2 + j*2*avctx->channels + k];
+ chomp3(ctx, pkt &7, MACEtab1, MACEtab2, avctx->channels);
+ chomp3(ctx,(pkt >> 3) &3, MACEtab3, MACEtab4, avctx->channels);
+ chomp3(ctx, pkt >> 5 , MACEtab1, MACEtab2, avctx->channels);
}
- }
}
*data_size = 2 * 3 * buf_size;