summaryrefslogtreecommitdiff
path: root/libavformat/aiff.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-10-03 10:16:29 +0000
committerDiego Biurrun <diego@biurrun.de>2008-10-03 10:16:29 +0000
commitbc5c918ea8757514de0ec0327066251a2f1ec23f (patch)
tree81bdb2bd95adf7002bc895eec401c7badf36816e /libavformat/aiff.c
parent0c45cd0720cdf2415a93ef63475690faf68364c2 (diff)
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. Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/aiff.c')
-rw-r--r--libavformat/aiff.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/aiff.c b/libavformat/aiff.c
index 3a4bf9f9dd..8bd69c200e 100644
--- a/libavformat/aiff.c
+++ b/libavformat/aiff.c
@@ -172,9 +172,9 @@ static unsigned int get_aiff_header(ByteIOContext *pb, AVCodecContext *codec,
#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 @@ static int aiff_write_trailer(AVFormatContext *s)
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 @@ static int aiff_read_header(AVFormatContext *s,
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;