[vlc-devel] [PATCH] Fix crash in invalid MKV files
chengsun9 at gmail.com
Wed Nov 23 22:56:27 CET 2011
This patch fixes a crash in invalid MKV files.
VirtualFromSegments can crash if the std::vector passed in is empty,
which can happen in corrupted files. This is just a simple check for
this case, making it fail elegantly rather than crashing.
(Patch attached rather than inline, sorry for inconvenience)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2832 bytes
Desc: not available
More information about the vlc-devel