mirror of https://github.com/mpv-player/mpv
74a2c0fb7f
It appears using lseek() to seek to the end and back to determine file size is inefficient in some cases (like with CIFS, see #7408). Even Windows supports fstat() (well, almost, but we already have a wrapper), so use that. It's unknown whether that will work better. Although I like it more, because it doesn't mess with the file position. |
||
---|---|---|
.. | ||
cookies.c | ||
cookies.h | ||
dvb_tune.c | ||
dvb_tune.h | ||
dvbin.h | ||
stream.c | ||
stream.h | ||
stream_avdevice.c | ||
stream_bluray.c | ||
stream_cb.c | ||
stream_cdda.c | ||
stream_concat.c | ||
stream_dvb.c | ||
stream_dvdnav.c | ||
stream_edl.c | ||
stream_file.c | ||
stream_lavf.c | ||
stream_libarchive.c | ||
stream_libarchive.h | ||
stream_memory.c | ||
stream_mf.c | ||
stream_null.c | ||
stream_smb.c |