summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorxylosper <darklin20@gmail.com>2014-06-11 22:55:39 +0900
committerwm4 <wm4@nowhere>2014-06-12 00:29:22 +0200
commit0b7facf05db684ec15c3d011a7394d2990ffd8b7 (patch)
tree78872a605bc91f24517a723f4f7c92bc744f2620 /options
parente302e1da5820224829a771b5d366689dc9420748 (diff)
downloadmpv-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.
Diffstat (limited to 'options')
-rw-r--r--options/options.c2
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