From e04826c34e9b19cc4da60fd028334f12f84b4b2a Mon Sep 17 00:00:00 2001 From: Yusuke Nakamura Date: Tue, 9 Oct 2012 16:00:28 +0900 Subject: file: Set the return value type for lseek to int64_t. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes a regression in 4ed5ac5. Signed-off-by: Martin Storsjö --- libavformat/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/file.c') diff --git a/libavformat/file.c b/libavformat/file.c index fc0af92277..c552a9eaa5 100644 --- a/libavformat/file.c +++ b/libavformat/file.c @@ -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; -- cgit v1.2.3