From 48fa7da86501870daff27c8a7f1cb4cc74d62e0a Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Sat, 13 Jan 2018 23:07:15 -0800 Subject: [PATCH] osd: reference local pointer to mpctx->opts For brevity, since it's already there. Result should be identical. --- player/osd.c | 4 ++-- 1 file 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));