Mercurial > libavformat.hg
diff au.c @ 65:a58a8a53eb46 libavformat
* UINTX -> uintx_t INTX -> intx_t
author | kabi |
---|---|
date | Tue, 11 Feb 2003 16:35:48 +0000 |
parents | 39c4c4336486 |
children | 2fa5e94ba716 |
line wrap: on
line diff
--- a/au.c Mon Feb 10 09:35:32 2003 +0000 +++ b/au.c Tue Feb 11 16:35:48 2003 +0000 @@ -29,7 +29,7 @@ #include "avi.h" /* if we don't know the size in advance */ -#define AU_UNKOWN_SIZE ((UINT32)(~0)) +#define AU_UNKOWN_SIZE ((uint32_t)(~0)) /* The ffmpeg codecs we support, and the IDs they have in the file */ static const CodecTag codec_au_tags[] = { @@ -50,9 +50,9 @@ put_tag(pb, ".snd"); /* magic number */ put_be32(pb, 24); /* header size */ put_be32(pb, AU_UNKOWN_SIZE); /* data size */ - put_be32(pb, (UINT32)tag); /* codec ID */ + put_be32(pb, (uint32_t)tag); /* codec ID */ put_be32(pb, enc->sample_rate); - put_be32(pb, (UINT32)enc->channels); + put_be32(pb, (uint32_t)enc->channels); return 0; } @@ -73,7 +73,7 @@ } static int au_write_packet(AVFormatContext *s, int stream_index_ptr, - UINT8 *buf, int size, int force_pts) + uint8_t *buf, int size, int force_pts) { ByteIOContext *pb = &s->pb; put_buffer(pb, buf, size); @@ -90,7 +90,7 @@ /* update file size */ file_size = url_ftell(pb); url_fseek(pb, 8, SEEK_SET); - put_be32(pb, (UINT32)(file_size - 24)); + put_be32(pb, (uint32_t)(file_size - 24)); url_fseek(pb, file_size, SEEK_SET); put_flush_packet(pb);