diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2018-01-13 23:07:15 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2018-01-13 23:26:54 -0800 |
commit | 48fa7da86501870daff27c8a7f1cb4cc74d62e0a (patch) | |
tree | 43f78a23d7e9e52cfe526ec54df17953f629906b /player/osd.c | |
parent | a5f53da229f0f3f5b7e248c47061a67f6d61d81e (diff) | |
download | mpv-48fa7da86501870daff27c8a7f1cb4cc74d62e0a.tar.bz2 mpv-48fa7da86501870daff27c8a7f1cb4cc74d62e0a.tar.xz |
osd: reference local pointer to mpctx->opts
For brevity, since it's already there. Result should be identical.
Diffstat (limited to 'player/osd.c')
-rw-r--r-- | player/osd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/player/osd.c b/player/osd.c index e9fda355c4..eeb13037d5 100644 --- a/player/osd.c +++ b/player/osd.c @@ -197,9 +197,9 @@ static void term_osd_print_status_lazy(struct MPContext *mpctx) saddf(&line, ": "); // Playback position - sadd_hhmmssff(&line, get_playback_time(mpctx), mpctx->opts->osd_fractions); + sadd_hhmmssff(&line, get_playback_time(mpctx), opts->osd_fractions); saddf(&line, " / "); - sadd_hhmmssff(&line, get_time_length(mpctx), mpctx->opts->osd_fractions); + sadd_hhmmssff(&line, get_time_length(mpctx), opts->osd_fractions); sadd_percentage(&line, get_percent_pos(mpctx)); |