mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-10 05:14:20 +00:00
FS-7513: fix assert
This commit is contained in:
1 parent
d93f304b25
commit
7bdd80499d
1 file changed
+2
-2
@@ -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++) {
|
||||
|
||||
Reference in new issue
Block a user