summaryrefslogtreecommitdiffstats
path: root/demux/mf.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-14 21:55:03 +0100
committerwm4 <wm4@nowhere>2013-12-14 21:55:03 +0100
commit50b3cfa22176c90325b414aaf7ba7213e4464111 (patch)
tree3f429248f5b9accc98564c40dbb58dba3e4c55f7 /demux/mf.c
parent2f49fbff93d76950c441daef76afb3adb9078429 (diff)
downloadmpv-50b3cfa22176c90325b414aaf7ba7213e4464111.tar.bz2
mpv-50b3cfa22176c90325b414aaf7ba7213e4464111.tar.xz
demux_mkv: don't seek outside of the file when finding segments
The end of the current segment will be the end of the file if there is no next segment. Normally, this didn't matter much, since UNIX files allow seeking past the end of the file. But when opening files from HTTP, this would print confusing error messages. So explicitly check for EOF before trying to read a segment.
Diffstat (limited to 'demux/mf.c')
0 files changed, 0 insertions, 0 deletions