diff file.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 dc671b723b25
children 898c3d1d9e4e
line wrap: on
line diff
--- a/file.c	Thu Oct 02 21:15:48 2008 +0000
+++ b/file.c	Fri Oct 03 10:16:29 2008 +0000
@@ -67,7 +67,7 @@
 }
 
 /* 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);