diff options
author | xylosper <darklin20@gmail.com> | 2014-06-11 22:55:39 +0900 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-12 00:29:22 +0200 |
commit | 0b7facf05db684ec15c3d011a7394d2990ffd8b7 (patch) | |
tree | 78872a605bc91f24517a723f4f7c92bc744f2620 | |
parent | e302e1da5820224829a771b5d366689dc9420748 (diff) | |
download | mpv-0b7facf05db684ec15c3d011a7394d2990ffd8b7.tar.bz2 mpv-0b7facf05db684ec15c3d011a7394d2990ffd8b7.tar.xz |
options: fix for compilation when encoding disabled
HAVE_* flags are always defined so ifdef will never work.
They should be checked with their values.
-rw-r--r-- | options/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options/options.c b/options/options.c index 7fb4060fca..4ecd3c6069 100644 --- a/options/options.c +++ b/options/options.c @@ -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 |