mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	| @@ -761,7 +761,7 @@ bool clip_image_preprocess(const clip_ctx * ctx, const clip_image_u8 * img, clip | ||||
|         temp->ny   = img->ny; | ||||
|         temp->size = img->size; | ||||
|         temp->data = new uint8_t[temp->size](); | ||||
|         *temp->data = *img->data; // copy | ||||
|         memcpy(&temp->data[0], &img->data[0], temp->size); // copy | ||||
|     } | ||||
|  | ||||
|     const int nx = temp->nx; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 M. Yusuf Sarıgöz
					M. Yusuf Sarıgöz