Mercurial > libavcodec.hg
changeset 7798:e7ec66d55d9e libavcodec
Cosmetics: indent after last commit and remove useless braces
author | vitor |
---|---|
date | Fri, 05 Sep 2008 00:01:23 +0000 |
parents | 09b73aceebaf |
children | c4f105f7c886 |
files | mace.c |
diffstat | 1 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/mace.c Fri Sep 05 00:00:20 2008 +0000 +++ b/mace.c Fri Sep 05 00:01:23 2008 +0000 @@ -324,14 +324,13 @@ 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;