---- a/src/include/switch_core_video.h
-+++ b/src/include/switch_core_video.h
-@@ -394,6 +394,7 @@ SWITCH_DECLARE(switch_image_t *) switch_
- SWITCH_DECLARE(switch_status_t) switch_img_write_png(switch_image_t *img, char *file_name);
- SWITCH_DECLARE(switch_status_t) switch_png_open(switch_png_t **pngP, const char *file_name);
- SWITCH_DECLARE(void) switch_png_free(switch_png_t **pngP);
-+#ifdef SWITCH_HAVE_YUV
- SWITCH_DECLARE(switch_status_t) switch_img_data_url_png(switch_image_t *img, char **urlP);
- SWITCH_DECLARE(switch_status_t) switch_img_data_url(switch_image_t *img, char **urlP, const char *type, int quality);
-
-@@ -405,6 +406,7 @@ SWITCH_DECLARE(switch_image_t *) switch_
- * \param[in] quality Only used in jpg, 1 ~ 100
- */
- SWITCH_DECLARE(switch_status_t) switch_img_write_to_file(switch_image_t *img, const char* file_name, int quality);
-+#endif
-
- /*!\brief put a small img over a big IMG at position x,y, with alpha transparency
- *
+commit a2ce46c6fde38d6ac54a8a2ee1a5b391e2ed2071
+Author: Sebastian Kemper <sebastian_ml@gmx.net>
+Date: Mon Nov 1 09:59:09 2021 +0100
+
+ [core] fix "--disable-libyuv"
+
+ Recent changes made it impossible to compile freeswitch without libyuv
+ support.
+
+ src/switch_core_video.c: In function 'switch_img_read_from_file':
+ src/switch_core_video.c:3139:4: error: implicit declaration of function 'RAWToI420' [-Werror=implicit-function-declaration]
+ RAWToI420(data, width * 3,
+ ^
+ src/switch_core_video.c:3148:4: error: implicit declaration of function 'ABGRToARGB' [-Werror=implicit-function-declaration]
+ ABGRToARGB(data, width * 4, img->planes[SWITCH_PLANE_PACKED], img->stride[SWITCH_PLANE_PACKED], width, height);
+ ^
+
+ Fix this my adding/moving the checks for "SWITCH_HAVE_YUV".
+
+ Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
+