summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-03-15 18:41:52 +0100
committerwm4 <wm4@nowhere>2014-03-15 18:42:10 +0100
commit5dde27601873e3bb0b20d735992669698f1a1724 (patch)
tree3f87a53d8795f431d0f047ebebbb2a1bcc5d2fd9
parent8a75b19cd4bfd093010f2f840241f537e0cffb49 (diff)
downloadmpv-5dde27601873e3bb0b20d735992669698f1a1724.tar.bz2
mpv-5dde27601873e3bb0b20d735992669698f1a1724.tar.xz
options: fix off-by-1 error in option help output
-rw-r--r--audio/chmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/chmap.c b/audio/chmap.c
index a67c4e1c70..9a18512e21 100644
--- a/audio/chmap.c
+++ b/audio/chmap.c
@@ -485,5 +485,5 @@ void mp_chmap_print_help(struct mp_log *log)
std_layout_names[n][0], std_layout_names[n][1]);
}
for (int n = 0; n < MP_NUM_CHANNELS; n++)
- mp_info(log, " unknown%d\n", n);
+ mp_info(log, " unknown%d\n", n + 1);
}