diff options
author | wm4 <wm4@nowhere> | 2013-11-01 17:20:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-01 17:35:38 +0100 |
commit | 4b6c00c50ad7739c024662be0321eef8015b5829 (patch) | |
tree | 97988171d5da28cedf8726bbf4115a002dfea8a8 /stream/tvi_v4l2.c | |
parent | 24897eb94ccdc4c7a4b9b201ec733b4d8f445f53 (diff) | |
download | mpv-4b6c00c50ad7739c024662be0321eef8015b5829.tar.bz2 mpv-4b6c00c50ad7739c024662be0321eef8015b5829.tar.xz |
tl_matroska: initialize segment related arrays with 0
mpv crashed when linked files were not found. The reason was that the
chapters array contained some uninitialized data.
I have no idea how this code works (after the merge). The old code
actually seems to remove missing chapters, while the new code just
leaves them unintiialized. Work around the crash by initializing the
chapters array (and a bunch of other things) with 0, which means the
missing chapter will be located at 00:00:00 and have no name.
There is a regression since commit af0306d.
Diffstat (limited to 'stream/tvi_v4l2.c')
0 files changed, 0 insertions, 0 deletions