mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
100l
Originally committed as revision 2417 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6f5cf8c50f
commit
1ffb0091aa
@ -89,7 +89,7 @@ static const int AdaptCoeff2[] = {
|
||||
};
|
||||
|
||||
/* 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 @@ static int adpcm_encode_frame(AVCodecContext *avctx,
|
||||
*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;
|
||||
|
Loading…
Reference in New Issue
Block a user