Removing multiplication breaking attributes
This commit is contained in:
+2
-2
@@ -218,7 +218,7 @@ inherit_from_jpeg(const JPEG* in, const char fmt)
|
|||||||
{
|
{
|
||||||
PPM image = { .width = in->width,
|
PPM image = { .width = in->width,
|
||||||
.height = in->height,
|
.height = in->height,
|
||||||
.len = in->width * in->height,
|
.len = in->len,
|
||||||
.fmt = fmt };
|
.fmt = fmt };
|
||||||
return image;
|
return image;
|
||||||
}
|
}
|
||||||
@@ -229,7 +229,7 @@ inherit_from_ppm(const PPM* in)
|
|||||||
JPEG image = {
|
JPEG image = {
|
||||||
.width = in->width,
|
.width = in->width,
|
||||||
.height = in->height,
|
.height = in->height,
|
||||||
.len = in->width * in->height,
|
.len = in->len,
|
||||||
};
|
};
|
||||||
return image;
|
return image;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user