diff options
author | wm4 <wm4@nowhere> | 2016-02-05 21:15:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-05 23:17:27 +0100 |
commit | 242dbc6c2c985bfd4dd8df699c6df6c33f8889d1 (patch) | |
tree | ed8a16fcdab6c2b5ffd57405f493a55ee561b0f6 /ta/ta.h | |
parent | 1aa2ae5404d134815eddcb3f146a9c1f8bbfc2e9 (diff) | |
download | mpv-242dbc6c2c985bfd4dd8df699c6df6c33f8889d1.tar.bz2 mpv-242dbc6c2c985bfd4dd8df699c6df6c33f8889d1.tar.xz |
player: simplify error_on_track()
track can't be NLUL at this point, so the if is redundant. Remove it and
unindent the block. Also, make the function check whether the track is
selected at all, which makes it safer and idempotent.
Diffstat (limited to 'ta/ta.h')
0 files changed, 0 insertions, 0 deletions