ref: c834a74e2326b5d6fad4c188b372ddf908c22070
parent: c63ecdce467b4bafeec19d220f3ea1b885f1c5fc
author: John Koleszar <jkoleszar@google.com>
date: Wed Sep 1 09:19:08 EDT 2010
Fix compilation without --enable-experimental Remove unconditional reference to vpx_codec_vp8x_cx_algo. Change-Id: I2f152a5bc014a2c8f7418e90b360ce18238e8ec1
--- a/ivfenc.c
+++ b/ivfenc.c
@@ -815,8 +815,11 @@
/* 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;
--
⑨