diff options
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux_lavf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index 769cf02101..dd8af7cb47 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -112,7 +112,7 @@ static int64_t mp_seek(void *opaque, int64_t pos, int whence) else if (whence == SEEK_SET) pos += stream->start_pos; else if (whence == AVSEEK_SIZE && stream->end_pos > 0) { - off_t size; + uint64_t size; if (stream_control(stream, STREAM_CTRL_GET_SIZE, &size) == STREAM_OK) return size; return stream->end_pos - stream->start_pos; |