From efa6b09b65f8c87a18745352777225adef7dbfc0 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 17 Jun 2014 23:26:53 +0200 Subject: video: remove redundant function mp_image_params_from_image() is now trivial and can be removed. --- video/mp_image.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'video/mp_image.c') diff --git a/video/mp_image.c b/video/mp_image.c index d778b7dcaa..76d6c1ab97 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -490,12 +490,6 @@ bool mp_image_params_equals(const struct mp_image_params *p1, p1->rotate == p2->rotate; } -void mp_image_params_from_image(struct mp_image_params *params, - const struct mp_image *image) -{ - *params = image->params; -} - // Set most image parameters, but not image format or size. // Display size is used to set the PAR. void mp_image_set_attributes(struct mp_image *image, -- cgit v1.2.3