mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
FS-7513: fix assert
This commit is contained in:
parent
d93f304b25
commit
7bdd80499d
@ -738,8 +738,8 @@ static void patch_image(switch_image_t *IMG, switch_image_t *img, int x, int y)
|
||||
int w = img->d_w;
|
||||
int h = img->d_h;
|
||||
|
||||
switch_assert(img->fmt = SWITCH_IMG_FMT_I420);
|
||||
switch_assert(IMG->fmt = SWITCH_IMG_FMT_I420);
|
||||
switch_assert(img->fmt == SWITCH_IMG_FMT_I420);
|
||||
switch_assert(IMG->fmt == SWITCH_IMG_FMT_I420);
|
||||
|
||||
for (i = y; i < (y + h) && i < H; i++) {
|
||||
for (j = x; j < (x + w) && j < W; j++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user