mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-22 03:51:48 +00:00
FS-7655: fix build error when we have PNG but not YUV
This commit is contained in:
parent
7963c4045e
commit
4264f519da
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user