FS-12057: [mod_conference] Fix video mute (use of uninitialized pointer)

This commit is contained in:
Andrey Volk 2019-09-20 20:02:32 +04:00
parent 3f075d30ac
commit b8a18f7d83
1 changed files with 1 additions and 1 deletions

View File

@ -3866,7 +3866,7 @@ void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread_t *thr
switch_image_t *mute_img = omember->video_mute_img ? omember->video_mute_img : omember->pcanvas_img;
if (mute_img) {
switch_image_t *tmp;
switch_image_t *tmp = NULL;
switch_img_copy(mute_img, &tmp);
switch_img_fit(&tmp, layer->screen_w, layer->screen_h, SWITCH_FIT_SIZE);