diff options
author | wm4 <wm4@nowhere> | 2013-11-04 23:55:41 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-04 23:55:41 +0100 |
commit | ed02cbf92f73a540f87a237ac3b487094d7b609f (patch) | |
tree | bd849b019c75245d801a6d995a92d31347b07481 /stream/tv.c | |
parent | b74edd406989cbb7a74b8462cb608b560918aa7b (diff) | |
download | mpv-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 'stream/tv.c')
0 files changed, 0 insertions, 0 deletions