diff options
author | wm4 <wm4@nowhere> | 2014-06-17 23:26:53 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-06-17 23:26:53 +0200 |
commit | efa6b09b65f8c87a18745352777225adef7dbfc0 (patch) | |
tree | 3dda68b348c67ac66bf2cdf98245290a86213381 /video/mp_image.c | |
parent | 2827ff1eabbe87f7f91ae174ba321cab06f5cbe0 (diff) | |
download | mpv-efa6b09b65f8c87a18745352777225adef7dbfc0.tar.bz2 mpv-efa6b09b65f8c87a18745352777225adef7dbfc0.tar.xz |
video: remove redundant function
mp_image_params_from_image() is now trivial and can be removed.
Diffstat (limited to 'video/mp_image.c')
-rw-r--r-- | video/mp_image.c | 6 |
1 files changed, 0 insertions, 6 deletions
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, |