1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-24 12:22:25 +00:00

command: fix crash when setting nonexistent property

Commit ebaaa41f2a accidentally removed the final terminator of the
properties array.
This commit is contained in:
wm4 2012-08-10 01:30:53 +02:00
parent b4dd2194d5
commit 4e2fe3724b

View File

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