summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/main.c b/player/main.c
index 906e6d34bf..160b5deab3 100644
--- a/player/main.c
+++ b/player/main.c
@@ -232,7 +232,7 @@ static bool handle_help_options(struct MPContext *mpctx)
opt_exit = 1;
}
if (opts->audio_device && strcmp(opts->audio_device, "help") == 0) {
- ao_print_devices(log);
+ ao_print_devices(mpctx->global, log);
opt_exit = 1;
}
#if HAVE_ENCODING