Merge "liboverlay: Add check to support older platforms."
diff --git a/liboverlay/overlayUtils.h b/liboverlay/overlayUtils.h
index a6b27b5..0459ea4 100644
--- a/liboverlay/overlayUtils.h
+++ b/liboverlay/overlayUtils.h
@@ -45,6 +45,11 @@
 #include <utils/Log.h>
 #include "gralloc_priv.h" //for interlace
 
+// Older platforms do not support Venus
+#ifndef VENUS_COLOR_FORMAT
+#define MDP_Y_CBCR_H2V2_VENUS (MDP_IMGTYPE_LIMIT2 + 1)
+#endif
+
 /*
 *
 * Collection of utilities functions/structs/enums etc...