Mercurial > libavformat.hg
diff aiff.c @ 3973:549a09cf23fe libavformat
Remove offset_t typedef and use int64_t directly instead.
The name offset_t is easily confused with the standard off_t type and
*_t is POSIX reserved namespace if any POSIX header is included.
author | diego |
---|---|
date | Fri, 03 Oct 2008 10:16:29 +0000 |
parents | 4fd67f05bad9 |
children | c3102b189cb6 |
line wrap: on
line diff
--- a/aiff.c Thu Oct 02 21:15:48 2008 +0000 +++ b/aiff.c Fri Oct 03 10:16:29 2008 +0000 @@ -172,9 +172,9 @@ #ifdef CONFIG_AIFF_MUXER typedef struct { - offset_t form; - offset_t frames; - offset_t ssnd; + int64_t form; + int64_t frames; + int64_t ssnd; } AIFFOutputContext; static int aiff_write_header(AVFormatContext *s) @@ -265,7 +265,7 @@ AVCodecContext *enc = s->streams[0]->codec; /* Chunks sizes must be even */ - offset_t file_size, end_size; + int64_t file_size, end_size; end_size = file_size = url_ftell(pb); if (file_size & 1) { put_byte(pb, 0); @@ -312,7 +312,7 @@ AVFormatParameters *ap) { int size, filesize; - offset_t offset = 0; + int64_t offset = 0; uint32_t tag; unsigned version = AIFF_C_VERSION1; ByteIOContext *pb = s->pb;