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;