mirror of https://git.ffmpeg.org/ffmpeg.git
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)
|
||||
{
|
||||
FileContext *c = h->priv_data;
|
||||
int ret;
|
||||
int64_t ret;
|
||||
|
||||
if (whence == AVSEEK_SIZE) {
|
||||
struct stat st;
|
||||
|
|
Loading…
Reference in New Issue