summaryrefslogtreecommitdiffstats
path: root/travis-deps
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-04 23:55:41 +0100
committerwm4 <wm4@nowhere>2013-11-04 23:55:41 +0100
commited02cbf92f73a540f87a237ac3b487094d7b609f (patch)
treebd849b019c75245d801a6d995a92d31347b07481 /travis-deps
parentb74edd406989cbb7a74b8462cb608b560918aa7b (diff)
downloadmpv-ed02cbf92f73a540f87a237ac3b487094d7b609f.tar.bz2
mpv-ed02cbf92f73a540f87a237ac3b487094d7b609f.tar.xz
playlist: rewrite PLS parser
Somehow the new parser ends up much smaller. Much of it is because we don't parse some additional information. We just skip it, instead of parsing it and then throwing it away. More importantly, we use the physical order of entries, instead of trying to sort them by entry number. Each "File" entry is followed by a number that is supposed to be the entry number, and "File1" is first. (Should it turn out that this is really needed, an additional field should be added to playlist_entry, and then qsort().)
Diffstat (limited to 'travis-deps')
0 files changed, 0 insertions, 0 deletions