Fix compilation without --enable-experimental
authorJohn Koleszar <jkoleszar@google.com>
Wed, 1 Sep 2010 17:19:08 +0000 (13:19 -0400)
committerJohn Koleszar <jkoleszar@google.com>
Wed, 1 Sep 2010 17:19:08 +0000 (13:19 -0400)
Remove unconditional reference to vpx_codec_vp8x_cx_algo.

Change-Id: I2f152a5bc014a2c8f7418e90b360ce18238e8ec1

ivfenc.c

index 3a50198..b3344d3 100644 (file)
--- 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;