diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-07-03 20:04:21 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-07-03 20:04:21 +0300 |
commit | c5364305bec6dff4566b988157b93d3d171465e3 (patch) | |
tree | 13e28a781e2e1f4699b4caffff0d61e2ef079187 /m_option.h | |
parent | 774bb252aa0bda6a6ef927cd9287b0a6c01da0e6 (diff) | |
download | mpv-c5364305bec6dff4566b988157b93d3d171465e3.tar.bz2 mpv-c5364305bec6dff4566b988157b93d3d171465e3.tar.xz |
commands: change property mechanism to use talloc strings
Diffstat (limited to 'm_option.h')
-rw-r--r-- | m_option.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m_option.h b/m_option.h index 77dddcef1d..b2f201c712 100644 --- a/m_option.h +++ b/m_option.h @@ -460,7 +460,7 @@ static inline char *m_option_print(const m_option_t *opt, const void *val_ptr) if (opt->type->print) return opt->type->print(opt, val_ptr); else - return (char *)-1; + return NULL; } // Helper around \ref m_option_type::copy. |