提交 4264f519 authored 作者: Michael Jerris's avatar Michael Jerris

FS-7655: fix build error when we have PNG but not YUV

上级 7963c404
...@@ -1135,6 +1135,10 @@ SWITCH_DECLARE(void) switch_img_patch_hole(switch_image_t *IMG, switch_image_t * ...@@ -1135,6 +1135,10 @@ SWITCH_DECLARE(void) switch_img_patch_hole(switch_image_t *IMG, switch_image_t *
#define SWITCH_IMG_MAX_WIDTH 1920 * 2 #define SWITCH_IMG_MAX_WIDTH 1920 * 2
#define SWITCH_IMG_MAX_HEIGHT 1080 * 2 #define SWITCH_IMG_MAX_HEIGHT 1080 * 2
#if !defined(SWITCH_HAVE_YUV)
#undef SWITCH_HAVE_PNG
#endif
#ifdef SWITCH_HAVE_PNG #ifdef SWITCH_HAVE_PNG
// WIP png functions, need furthur tweak/check to make sure it works on all png files and errors are properly detected and reported // WIP png functions, need furthur tweak/check to make sure it works on all png files and errors are properly detected and reported
// #define PNG_DEBUG 3 // #define PNG_DEBUG 3
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论