Index: libhb/encx265.c
--- libhb/encx265.c.orig
+++ libhb/encx265.c
@@ -269,6 +269,7 @@ int encx265Init(hb_work_object_t *w, hb_job_t *job)
         }
     }
 
+#if 0
     if (job->ambient.ambient_illuminance.num && job->ambient.ambient_illuminance.den)
     {
         param->ambientIlluminance = hb_rescale_rational(job->ambient.ambient_illuminance, 10000);
@@ -276,6 +277,7 @@ int encx265Init(hb_work_object_t *w, hb_job_t *job)
         param->ambientLightY = hb_rescale_rational(job->ambient.ambient_light_y, 50000);
         param->bEmitAmbientViewingEnvironment = 1;
     }
+#endif
 
     if (job->chroma_location != AVCHROMA_LOC_UNSPECIFIED)
     {
