file: Set the return value type for lseek to int64_t.
authorYusuke Nakamura <muken.the.vfrmaniac@gmail.com>
Tue, 9 Oct 2012 07:00:28 +0000 (16:00 +0900)
committerMartin Storsjö <martin@martin.st>
Tue, 9 Oct 2012 08:27:12 +0000 (11:27 +0300)
This fixes a regression in 4ed5ac5.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/file.c

index fc0af92..c552a9e 100644 (file)
@@ -121,7 +121,7 @@ static int file_open(URLContext *h, const char *filename, int flags)
 static int64_t file_seek(URLContext *h, int64_t pos, int whence)
 {
     FileContext *c = h->priv_data;
-    int ret;
+    int64_t ret;
 
     if (whence == AVSEEK_SIZE) {
         struct stat st;