add a molly guard
This commit is contained in:
parent
9e9535221f
commit
12347e9066
@ -23,6 +23,11 @@ fprintf(stderr, ">>> %s ( %p %p 0x%04x )\n", __func__, psrc, pdst, flags);
|
|||||||
|
|
||||||
if (flags) { fprintf(stderr, "flags: 0x%04x in %s\n", flags, __func__); }
|
if (flags) { fprintf(stderr, "flags: 0x%04x in %s\n", flags, __func__); }
|
||||||
|
|
||||||
|
if (fimg_images_not_compatible(psrc, pdst)) {
|
||||||
|
fprintf(stderr, "%s: shit happen\n", __func__);
|
||||||
|
return -2;
|
||||||
|
}
|
||||||
|
|
||||||
for (y=0; y<psrc->height; y++) {
|
for (y=0; y<psrc->height; y++) {
|
||||||
|
|
||||||
for (x=0; x<psrc->width; x++)
|
for (x=0; x<psrc->width; x++)
|
||||||
|
Loading…
Reference in New Issue
Block a user