Commit e04826c3 authored by Yusuke Nakamura's avatar Yusuke Nakamura Committed by Martin Storsjö

file: Set the return value type for lseek to int64_t.

This fixes a regression in 4ed5ac50.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent f79364b2
...@@ -121,7 +121,7 @@ static int file_open(URLContext *h, const char *filename, int flags) ...@@ -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) static int64_t file_seek(URLContext *h, int64_t pos, int whence)
{ {
FileContext *c = h->priv_data; FileContext *c = h->priv_data;
int ret; int64_t ret;
if (whence == AVSEEK_SIZE) { if (whence == AVSEEK_SIZE) {
struct stat st; struct stat st;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment