From c834a74e2326b5d6fad4c188b372ddf908c22070 Mon Sep 17 00:00:00 2001 From: John Koleszar Date: Wed, 1 Sep 2010 13:19:08 -0400 Subject: [PATCH] Fix compilation without --enable-experimental Remove unconditional reference to vpx_codec_vp8x_cx_algo. Change-Id: I2f152a5bc014a2c8f7418e90b360ce18238e8ec1 --- ivfenc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ivfenc.c b/ivfenc.c index 3a50198e6..b3344d3ff 100644 --- a/ivfenc.c +++ b/ivfenc.c @@ -815,8 +815,11 @@ int main(int argc, const char **argv_) /* Handle codec specific options */ #if CONFIG_VP8_ENCODER - if (codec->iface == &vpx_codec_vp8_cx_algo || - codec->iface == &vpx_codec_vp8x_cx_algo) + if (codec->iface == &vpx_codec_vp8_cx_algo +#if CONFIG_EXPERIMENTAL + || codec->iface == &vpx_codec_vp8x_cx_algo +#endif + ) { ctrl_args = vp8_args; ctrl_args_map = vp8_arg_ctrl_map; -- 2.21.0