mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-01 13:36:26 +08:00
Cosmetics: whitespace/linebreaks
Originally committed as revision 15246 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -331,11 +331,14 @@ static int mace3_decode_frame(AVCodecContext *avctx,
|
|||||||
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++) {
|
for (k=0; k < 2; k++) {
|
||||||
uint8_t pkt = buf[i*2 + j*2*avctx->channels + k];
|
uint8_t pkt = buf[i*2 + j*2*avctx->channels + k];
|
||||||
chomp3(&ctx->chd[i], output, pkt &7, MACEtab1, MACEtab2, avctx->channels);
|
chomp3(&ctx->chd[i], output, pkt &7, MACEtab1, MACEtab2,
|
||||||
|
avctx->channels);
|
||||||
output += avctx->channels;
|
output += avctx->channels;
|
||||||
chomp3(&ctx->chd[i], output,(pkt >> 3) &3, MACEtab3, MACEtab4, avctx->channels);
|
chomp3(&ctx->chd[i], output,(pkt >> 3) &3, MACEtab3, MACEtab4,
|
||||||
|
avctx->channels);
|
||||||
output += avctx->channels;
|
output += avctx->channels;
|
||||||
chomp3(&ctx->chd[i], output, pkt >> 5 , MACEtab1, MACEtab2, avctx->channels);
|
chomp3(&ctx->chd[i], output, pkt >> 5 , MACEtab1, MACEtab2,
|
||||||
|
avctx->channels);
|
||||||
output += avctx->channels;
|
output += avctx->channels;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -359,11 +362,14 @@ static int mace6_decode_frame(AVCodecContext *avctx,
|
|||||||
for (j = 0; j < buf_size / avctx->channels; j++) {
|
for (j = 0; j < buf_size / avctx->channels; j++) {
|
||||||
uint8_t pkt = buf[i + j*avctx->channels];
|
uint8_t pkt = buf[i + j*avctx->channels];
|
||||||
|
|
||||||
chomp6(&ctx->chd[i], output, pkt >> 5 , MACEtab1, MACEtab2, avctx->channels);
|
chomp6(&ctx->chd[i], output, pkt >> 5 , MACEtab1, MACEtab2,
|
||||||
|
avctx->channels);
|
||||||
output += avctx->channels << 1;
|
output += avctx->channels << 1;
|
||||||
chomp6(&ctx->chd[i], output,(pkt >> 3) & 3, MACEtab3, MACEtab4, avctx->channels);
|
chomp6(&ctx->chd[i], output,(pkt >> 3) & 3, MACEtab3, MACEtab4,
|
||||||
|
avctx->channels);
|
||||||
output += avctx->channels << 1;
|
output += avctx->channels << 1;
|
||||||
chomp6(&ctx->chd[i], output, pkt & 7, MACEtab1, MACEtab2, avctx->channels);
|
chomp6(&ctx->chd[i], output, pkt & 7, MACEtab1, MACEtab2,
|
||||||
|
avctx->channels);
|
||||||
output += avctx->channels << 1;
|
output += avctx->channels << 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user