osd: reference local pointer to mpctx->opts

For brevity, since it's already there. Result should be identical.
This commit is contained in:
Kevin Mitchell 2018-01-13 23:07:15 -08:00
parent a5f53da229
commit 48fa7da865
1 changed files with 2 additions and 2 deletions

View File

@ -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));