output: Fix options enumeration. Again.

This commit is contained in:
Bert Vermeulen 2014-08-20 17:33:09 +02:00
parent aba57f3550
commit fdefc40aec
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ SR_API const struct sr_option **sr_output_options_get(const struct sr_output_mod
mod_opts = o->options();
for (size = 1; mod_opts[size].id; size++)
for (size = 0; mod_opts[size].id; size++)
;
opts = g_malloc((size + 1) * sizeof(struct sr_option *));