# HG changeset patch # User alex # Date 1066860622 0 # Node ID c4e19184eff0989df35aa02fc934257c9d9c8b2e # Parent 3385f315df6e7d1c206e5b7d014e37c65315a3b9 100l diff -r 3385f315df6e -r c4e19184eff0 adpcm.c --- a/adpcm.c Wed Oct 22 19:15:55 2003 +0000 +++ b/adpcm.c Wed Oct 22 22:10:22 2003 +0000 @@ -89,7 +89,7 @@ }; /* These are for CD-ROM XA ADPCM */ -const static int xa_adpcm_table[5][2] = { +static const int xa_adpcm_table[5][2] = { { 0, 0 }, { 60, 0 }, { 115, -52 }, @@ -235,7 +235,7 @@ *dst++ = 0; /* unknown */ samples++; if (avctx->channels == 2) { - c->status[1].prev_sample = (signed short)samples[0]; + c->status[1].prev_sample = (signed short)samples[1]; /* c->status[1].step_index = 0; */ *dst++ = (c->status[1].prev_sample) & 0xFF; *dst++ = (c->status[1].prev_sample >> 8) & 0xFF;