mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
FS-7724: [mod_conference] fix segfault when missing fonts when trying to render banner
This commit is contained in:
1 parent
d5c6443b23
commit
f727cdb9d1
2 files changed
+19
-9
No files matched your search
@@ -883,6 +883,8 @@ SWITCH_DECLARE(uint32_t) switch_img_txt_handle_render(switch_img_txt_handle_t *h
|
||||
|
||||
if (zstr(text)) return 0;
|
||||
|
||||
if (!handle) return 0;
|
||||
|
||||
switch_assert(!img || img->fmt == SWITCH_IMG_FMT_I420 || img->fmt == SWITCH_IMG_FMT_ARGB);
|
||||
|
||||
if (font_family) {
|
||||
|
||||
Reference in new issue
Block a user