summaryrefslogtreecommitdiffstats
path: root/stream/stream_file.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-10 12:11:14 +0200
committerwm4 <wm4@nowhere>2015-07-10 12:11:14 +0200
commit4e767826303567f3ccd70c84b462b5dd0c140f6c (patch)
treea304b9bbe8ac708f4d19bfe862ce255cdd9cc649 /stream/stream_file.c
parenta46de35abb19810fc0587d7857f63de210e06e40 (diff)
downloadmpv-4e767826303567f3ccd70c84b462b5dd0c140f6c.tar.bz2
mpv-4e767826303567f3ccd70c84b462b5dd0c140f6c.tar.xz
player: refactor chapter seek code
mp_seek_chapter() had only 1 caller. Also the code was rather roundabout; the entire function can be compressed to 5 lines of code. (The new code is functionally the same - "mpctx->last_chapter_seek = -2;" was effectively a dead assingment.)
Diffstat (limited to 'stream/stream_file.c')
0 files changed, 0 insertions, 0 deletions