* Fix some issues reported by cppcheck.
This commit is contained in:
@ -29,10 +29,10 @@ typedef struct {
|
||||
int32_t width;
|
||||
int32_t height;
|
||||
pix *buf;
|
||||
} image;
|
||||
} image_s;
|
||||
|
||||
void
|
||||
image_free(image *pimage);
|
||||
image_free(image_s *pimage);
|
||||
|
||||
int
|
||||
image_get_jpeg_date_xmp(const char * path, char ** date);
|
||||
@ -40,14 +40,14 @@ image_get_jpeg_date_xmp(const char * path, char ** date);
|
||||
int
|
||||
image_get_jpeg_resolution(const char * path, int * width, int * height);
|
||||
|
||||
image *
|
||||
image_s *
|
||||
image_new_from_jpeg(const char * path, int is_file, const char * ptr, int size, int scale);
|
||||
|
||||
image *
|
||||
image_resize(image * src_image, int32_t width, int32_t height);
|
||||
image_s *
|
||||
image_resize(image_s * src_image, int32_t width, int32_t height);
|
||||
|
||||
unsigned char *
|
||||
image_save_to_jpeg_buf(image * pimage, int * size);
|
||||
image_save_to_jpeg_buf(image_s * pimage, int * size);
|
||||
|
||||
int
|
||||
image_save_to_jpeg_file(image * pimage, const char * path);
|
||||
image_save_to_jpeg_file(image_s * pimage, const char * path);
|
||||
|
Reference in New Issue
Block a user