Mercurial > libavcodec.hg
diff adpcm.c @ 1064:b32afefe7d33 libavcodec
* UINTX -> uintx_t INTX -> intx_t
author | kabi |
---|---|
date | Tue, 11 Feb 2003 16:35:48 +0000 |
parents | 7fccaa0d699d |
children | 18157900b434 |
line wrap: on
line diff
--- a/adpcm.c Mon Feb 10 22:43:30 2003 +0000 +++ b/adpcm.c Tue Feb 11 16:35:48 2003 +0000 @@ -329,14 +329,14 @@ static int adpcm_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - UINT8 *buf, int buf_size) + uint8_t *buf, int buf_size) { ADPCMContext *c = avctx->priv_data; ADPCMChannelStatus *cs; int n, m, channel; int block_predictor[2]; short *samples; - UINT8 *src; + uint8_t *src; int st; /* stereo */ samples = data; @@ -500,7 +500,7 @@ *data_size = 0; return -1; } - *data_size = (UINT8 *)samples - (UINT8 *)data; + *data_size = (uint8_t *)samples - (uint8_t *)data; return src - buf; }