diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-02-11 16:35:48 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-02-11 16:35:48 +0000 |
commit | 0c1a9edad463bd6e22b30c19b700b099c7093fc1 (patch) | |
tree | d16ccbe29c8dbfc2cdc4e92cac31b22c181ed940 /libavformat/au.c | |
parent | 4596673c062e3834b6d31d1e8e210b64d74ce26b (diff) | |
download | ffmpeg-0c1a9edad463bd6e22b30c19b700b099c7093fc1.tar.gz |
* UINTX -> uintx_t INTX -> intx_t
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/au.c')
-rw-r--r-- | libavformat/au.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/au.c b/libavformat/au.c index b584d8d4f5..50f22a8c9a 100644 --- a/libavformat/au.c +++ b/libavformat/au.c @@ -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 @@ static int put_au_header(ByteIOContext *pb, AVCodecContext *enc) 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_header(AVFormatContext *s) } 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 @@ static int au_write_trailer(AVFormatContext *s) /* 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); |