summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-22 22:33:55 +0100
committerwm4 <wm4@nowhere>2014-01-22 22:33:55 +0100
commit774eb1d98dce085fa5af52bcd0a1499aecfdca0c (patch)
tree3236ffb3c3fc4b2a9ae330ca545d4046e6478fb3 /demux/demux.c
parent85bd178dbe95d0970d92c7721a998cee60f14d0b (diff)
downloadmpv-774eb1d98dce085fa5af52bcd0a1499aecfdca0c.tar.bz2
mpv-774eb1d98dce085fa5af52bcd0a1499aecfdca0c.tar.xz
demux_mkv: always fail on header reading error
For some reason, if an error happened when reading headers, it merely stopped reading the headers, and then continued normally. (It looks like the case to exit hard (-2) was mainly used for skipping unwanted ordered chapter segments.) I can't comprehend this. Always exit on error when reading headers. (Maybe some more error tolerance would be good, but I have no test case, and there's some danger of entering endless loops.)
Diffstat (limited to 'demux/demux.c')
0 files changed, 0 insertions, 0 deletions