options: fix off-by-1 error in option help output

This commit is contained in:
wm4 2014-03-15 18:41:52 +01:00
parent 8a75b19cd4
commit 5dde276018
1 changed files with 1 additions and 1 deletions

View File

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