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:
xylosper 2014-06-11 22:55:39 +09:00 committed by wm4
parent e302e1da58
commit 0b7facf05d
1 changed files with 1 additions and 1 deletions

View File

@ -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