mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
FS-10941: [mod_conference] Segfault SIGFPE, Arithmetic exception in mod_conference #resolve
This commit is contained in:
committed by
Mike Jerris
parent
581330dc25
commit
a75c1f7d8f
@@ -6592,11 +6592,11 @@ SWITCH_DECLARE(void) switch_core_session_write_blank_video(switch_core_session_t
|
||||
switch_color_set_rgb(&bgcolor, "#000000");
|
||||
switch_img_fill(blank_img, 0, 0, blank_img->d_w, blank_img->d_h, &bgcolor);
|
||||
|
||||
if (fps < 15) fps = 15;
|
||||
frame_ms = (uint32_t) 1000 / fps;
|
||||
if (frame_ms <= 0) frame_ms = 66;
|
||||
frames = (uint32_t) ms / frame_ms;
|
||||
|
||||
|
||||
|
||||
switch_core_media_gen_key_frame(session);
|
||||
for (i = 0; i < frames; i++) {
|
||||
fr.img = blank_img;
|
||||
|
||||
Reference in New Issue
Block a user