mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
stream, demux: replace off_t with int64_t
On reasonable systems, these types were the same anyway. Even on unreasonable systems (seriously, which?), this may reduce potential breakage.
This commit is contained in:
@@ -88,10 +88,10 @@ static void bluray_stream_close(stream_t *s)
|
||||
free(b);
|
||||
}
|
||||
|
||||
static int bluray_stream_seek(stream_t *s, off_t pos)
|
||||
static int bluray_stream_seek(stream_t *s, int64_t pos)
|
||||
{
|
||||
struct bluray_priv_s *b = s->priv;
|
||||
off_t p;
|
||||
int64_t p;
|
||||
|
||||
p = bd_seek(b->bd, pos);
|
||||
if (p == -1)
|
||||
|
||||
Reference in New Issue
Block a user