mirror of https://github.com/mpv-player/mpv
options: fix for compilation when encoding disabled
HAVE_* flags are always defined so ifdef will never work. They should be checked with their values.
This commit is contained in:
parent
e302e1da58
commit
0b7facf05d
|
@ -506,7 +506,7 @@ const m_option_t mp_opts[] = {
|
|||
OPT_PRINT("version", print_version),
|
||||
OPT_PRINT("V", print_version),
|
||||
|
||||
#ifdef HAVE_ENCODING
|
||||
#if HAVE_ENCODING
|
||||
OPT_SUBSTRUCT("", encode_opts, encode_config, 0),
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue