summaryrefslogtreecommitdiff
path: root/libavformat/file.c
diff options
context:
space:
mode:
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);