diff options
author | wm4 <wm4@nowhere> | 2013-04-12 13:20:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-04-12 14:38:04 +0200 |
commit | 6f28c061b4a87b2dbd9d0c5553b7b5f6a83b9c3e (patch) | |
tree | f087010385ec5076b2efab98de88c3c93d60d8f1 /stream/vcd_read_fbsd.h | |
parent | a5916f5d1df7ad9c3e9d2644f930a3e62c4c0d3c (diff) | |
download | mpv-6f28c061b4a87b2dbd9d0c5553b7b5f6a83b9c3e.tar.bz2 mpv-6f28c061b4a87b2dbd9d0c5553b7b5f6a83b9c3e.tar.xz |
demux: always sort chapters
The condition that checked whether the chapters are out of order and
should be sorted was inverted. This likely wasn't noticed in testing,
because even if the chapters are unsorted, if the last two chapters
were sorted, the rest got sorted too.
Instead of doing this silly check, always sort the chapters after
demuxer initialization. Also make sure the sort order is stable in case
chapter start times are the same (original_index check).
Diffstat (limited to 'stream/vcd_read_fbsd.h')
0 files changed, 0 insertions, 0 deletions