file: Set the return value type for lseek to int64_t.
This fixes a regression in 4ed5ac5. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
f79364b2c3
commit
e04826c34e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user