summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-16 18:51:11 +0100
committerwm4 <wm4@nowhere>2014-11-16 18:51:56 +0100
commit4cf1843664e1b5cf2b233668fb830e5ecaac7388 (patch)
tree3f809aabebdae74307e9bb07a6f011fb37c96d79 /player
parent78cbbb4c49c76558eea3397d7fd0f90978248210 (diff)
downloadmpv-4cf1843664e1b5cf2b233668fb830e5ecaac7388.tar.bz2
mpv-4cf1843664e1b5cf2b233668fb830e5ecaac7388.tar.xz
demux_mkv: check file type without actually reading data
Do a minimal check on data read with stream_peek(). This could help with probing from unseekable streams in some situations. (We could check the entire EBML and Matroska headers, but probably not worth the trouble. We could also seek back to the start, which demux.c doesn't do, but which would work usually - also not worth the trouble.)
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions