в adpcm.c
Код: Выделить всё
/* Restore previous values of predicted sample and quantizer step
size index
*/
predsample = state.prevsample;
index = state.previndex;
step = StepSizeTable[index];Код: Выделить всё
struct ADPCMState {
signed long prevsample; /* Predicted sample */
int previndex; /* Index into step size table */
};Код: Выделить всё
Adpcm.c: In function 'ADPCMEncoder':
Adpcm.c:56:15: error: 'state' undeclared (first use in this function)
Adpcm.c:56:15: note: each undeclared identifier is reported only once for each function it appears in
Adpcm.c: In function 'ADPCMDecoder':
Adpcm.c:151:15: error: 'state' undeclared (first use in this function)
