diff options
author | 2017-11-02 18:47:00 +0100 | |
---|---|---|
committer | 2017-11-02 18:47:05 +0100 | |
commit | 1199c1e38a3845de2a5a2fae9eb2a3eec164960d (patch) | |
tree | b886d88598ce7f4f4190776e80ad149398905c4b /player/video.c | |
parent | 49e925f8307a3988a1f01ee2917f23d252dcbdc3 (diff) |
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/video.c')
0 files changed, 0 insertions, 0 deletions