diff options
author | wm4 <wm4@nowhere> | 2017-11-02 18:47:00 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-11-02 18:47:05 +0100 |
commit | 1199c1e38a3845de2a5a2fae9eb2a3eec164960d (patch) | |
tree | b886d88598ce7f4f4190776e80ad149398905c4b /player | |
parent | 49e925f8307a3988a1f01ee2917f23d252dcbdc3 (diff) | |
download | mpv-1199c1e38a3845de2a5a2fae9eb2a3eec164960d.tar.bz2 mpv-1199c1e38a3845de2a5a2fae9eb2a3eec164960d.tar.xz |
stream_libarchive: stop reading on ARCHIVE_FATAL
According to
https://github.com/libarchive/libarchive/pull/773#issuecomment-334892291
we're not allowed to "continue reading" (post above) or performing "more
operations" (comments in archive.h header), whatever that means. Assume
closing and freeing the archive is still ok.
Since the codec already includes logic for closing and reopening the
archive for seeking in unseekable archives, this probably isn't too bad.
Untested due to lack of crashing sample (I lost my original test case,
and as recently user-provided one didn't crash).
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions