mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
lib: Rename fpi_img_resize() to fpi_img_realloc()
To better match what it does. It does not resize an image, but reallocate its internal data structure's size.
This commit is contained in:
@@ -71,7 +71,7 @@ submit_image(fpi_ssm *ssm,
|
||||
img->width = VFS301_FP_OUTPUT_WIDTH;
|
||||
img->height = height;
|
||||
|
||||
img = fpi_img_resize(img, img->height * img->width);
|
||||
img = fpi_img_realloc(img, img->height * img->width);
|
||||
fpi_imgdev_image_captured(dev, img);
|
||||
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user