diff options
author | wm4 <wm4@nowhere> | 2012-08-10 01:30:53 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-10 01:30:53 +0200 |
commit | 4e2fe3724b3bcd61794cf4fca88adf383f5547d4 (patch) | |
tree | 1803af2f2c66e36d14e302151cc13aa66d58a138 /command.c | |
parent | b4dd2194d5c2540583becf6c021d8eb0f52cddc0 (diff) | |
download | mpv-4e2fe3724b3bcd61794cf4fca88adf383f5547d4.tar.bz2 mpv-4e2fe3724b3bcd61794cf4fca88adf383f5547d4.tar.xz |
command: fix crash when setting nonexistent property
Commit ebaaa41f2a4 accidentally removed the final terminator of the
properties array.
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2249,6 +2249,8 @@ static const m_option_t mp_properties[] = { { "tv_hue", mp_property_tv_color, CONF_TYPE_INT, M_OPT_RANGE, -100, 100, .offset = TV_COLOR_HUE }, #endif + + {0}, }; |