mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-19 13:27:00 +00:00
file: set the return value type for lseek to off_t
fixes a bug introduced with 4ed5ac50d3
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c76ffdc251
commit
d37044647f
@ -135,7 +135,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;
|
||||
off_t ret;
|
||||
|
||||
if (whence == AVSEEK_SIZE) {
|
||||
struct stat st;
|
||||
|
Loading…
Reference in New Issue
Block a user