Mercurial > libavcodec.hg
diff pcm.c @ 1064:b32afefe7d33 libavcodec
* UINTX -> uintx_t INTX -> intx_t
| author | kabi |
|---|---|
| date | Tue, 11 Feb 2003 16:35:48 +0000 |
| parents | 48349e11c9b2 |
| children | bfc18110d4b6 |
line wrap: on
line diff
--- a/pcm.c Mon Feb 10 22:43:30 2003 +0000 +++ b/pcm.c Tue Feb 11 16:35:48 2003 +0000 @@ -73,13 +73,13 @@ } /* 16384 entries per table */ -static UINT8 *linear_to_alaw = NULL; +static uint8_t *linear_to_alaw = NULL; static int linear_to_alaw_ref = 0; -static UINT8 *linear_to_ulaw = NULL; +static uint8_t *linear_to_ulaw = NULL; static int linear_to_ulaw_ref = 0; -static void build_xlaw_table(UINT8 *linear_to_xlaw, +static void build_xlaw_table(uint8_t *linear_to_xlaw, int (*xlaw2linear)(unsigned char), int mask) { @@ -274,12 +274,12 @@ static int pcm_decode_frame(AVCodecContext *avctx, void *data, int *data_size, - UINT8 *buf, int buf_size) + uint8_t *buf, int buf_size) { PCMDecode *s = avctx->priv_data; int n; short *samples; - UINT8 *src; + uint8_t *src; samples = data; src = buf; @@ -339,7 +339,7 @@ *data_size = 0; return -1; } - *data_size = (UINT8 *)samples - (UINT8 *)data; + *data_size = (uint8_t *)samples - (uint8_t *)data; return src - buf; }
