diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-10-03 10:16:29 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-10-03 10:16:29 +0000 |
commit | bc5c918ea8757514de0ec0327066251a2f1ec23f (patch) | |
tree | 81bdb2bd95adf7002bc895eec401c7badf36816e /libavformat/wav.c | |
parent | 0c45cd0720cdf2415a93ef63475690faf68364c2 (diff) | |
download | ffmpeg-bc5c918ea8757514de0ec0327066251a2f1ec23f.tar.gz |
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/wav.c')
-rw-r--r-- | libavformat/wav.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c index ba7315b360..01923d5aad 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -23,8 +23,8 @@ #include "riff.h" typedef struct { - offset_t data; - offset_t data_end; + int64_t data; + int64_t data_end; int64_t minpts; int64_t maxpts; int last_duration; @@ -35,7 +35,7 @@ static int wav_write_header(AVFormatContext *s) { WAVContext *wav = s->priv_data; ByteIOContext *pb = s->pb; - offset_t fmt, fact; + int64_t fmt, fact; put_tag(pb, "RIFF"); put_le32(pb, 0); /* file length */ @@ -88,7 +88,7 @@ static int wav_write_trailer(AVFormatContext *s) { ByteIOContext *pb = s->pb; WAVContext *wav = s->priv_data; - offset_t file_size; + int64_t file_size; if (!url_is_streamed(s->pb)) { end_tag(pb, wav->data); |