Merge pull request #1669 in FS/freeswitch from ~DULINJUN/freeswitch:bugfix/FS-11628-fix-switch_core_video-typo to master

* commit '908793e5fe505a1e690397c74322946c7c9714fa':
  Update src/switch_core_video.c
This commit is contained in:
Seven Du 2019-01-25 06:03:36 +00:00
commit 1681db4ba2
1 changed files with 1 additions and 1 deletions

View File

@ -579,7 +579,7 @@ SWITCH_DECLARE(void) switch_img_copy(switch_image_t *img, switch_image_t **new_i
if (*new_img) {
if ((*new_img)->fmt != SWITCH_IMG_FMT_I420 && (*new_img)->fmt != SWITCH_IMG_FMT_ARGB) return;
if (img->d_w != (*new_img)->d_w || img->d_h != (*new_img)->d_w ) {
if (img->d_w != (*new_img)->d_w || img->d_h != (*new_img)->d_h ) {
new_fmt = (*new_img)->fmt;
switch_img_free(new_img);
}