Mercurial > libavformat.hg
diff wav.c @ 65:a58a8a53eb46 libavformat
* UINTX -> uintx_t INTX -> intx_t
author | kabi |
---|---|
date | Tue, 11 Feb 2003 16:35:48 +0000 |
parents | 05318cf2e886 |
children | 4b501fe1539c |
line wrap: on
line diff
--- a/wav.c Mon Feb 10 09:35:32 2003 +0000 +++ b/wav.c Tue Feb 11 16:35:48 2003 +0000 @@ -171,7 +171,7 @@ } static int wav_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); @@ -190,7 +190,7 @@ /* update file size */ file_size = url_ftell(pb); url_fseek(pb, 4, SEEK_SET); - put_le32(pb, (UINT32)(file_size - 8)); + put_le32(pb, (uint32_t)(file_size - 8)); url_fseek(pb, file_size, SEEK_SET); put_flush_packet(pb); @@ -200,7 +200,7 @@ /* return the size of the found tag */ /* XXX: > 2GB ? */ -static int find_tag(ByteIOContext *pb, UINT32 tag1) +static int find_tag(ByteIOContext *pb, uint32_t tag1) { unsigned int tag; int size;