Browse Source

lavc/adpcm: THP: fix indentation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.8
Rodger Combs Michael Niedermayer 10 years ago
parent
commit
631d56ffc8
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      libavcodec/adpcm.c

+ 8
- 8
libavcodec/adpcm.c View File

@@ -1451,15 +1451,15 @@ static int adpcm_decode_frame(AVCodecContext *avctx, void *data,
for (n = 0; n < 16; n++)
table[i][n] = THP_GET16(tb);
} else {
for (i = 0; i < avctx->channels; i++)
for (n = 0; n < 16; n++)
table[i][n] = THP_GET16(gb);
for (i = 0; i < avctx->channels; i++)
for (n = 0; n < 16; n++)
table[i][n] = THP_GET16(gb);

/* Initialize the previous sample. */
for (i = 0; i < avctx->channels; i++) {
c->status[i].sample1 = THP_GET16(gb);
c->status[i].sample2 = THP_GET16(gb);
}
/* Initialize the previous sample. */
for (i = 0; i < avctx->channels; i++) {
c->status[i].sample1 = THP_GET16(gb);
c->status[i].sample2 = THP_GET16(gb);
}
}

for (ch = 0; ch < avctx->channels; ch++) {


Loading…
Cancel
Save