summaryrefslogtreecommitdiff
path: root/libavformat/file.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/file.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/file.c')
-rw-r--r--libavformat/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/file.c b/libavformat/file.c
index 9640ff654e..e50168d89e 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -67,7 +67,7 @@ static int file_write(URLContext *h, unsigned char *buf, int size)
}
/* XXX: use llseek */
-static offset_t file_seek(URLContext *h, offset_t pos, int whence)
+static int64_t file_seek(URLContext *h, int64_t pos, int whence)
{
int fd = (size_t)h->priv_data;
return lseek(fd, pos, whence);