summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-09 21:11:20 +0200
committerwm4 <wm4@nowhere>2015-04-09 21:11:20 +0200
commitbe259be15c762abe4aa67dd0c932c389105cabd4 (patch)
tree2bb26986602a66d8d91c9227274fff7c183f027e /video
parentd737939f1f8cd2a3c53c6963c0af1cea029c454a (diff)
downloadmpv-be259be15c762abe4aa67dd0c932c389105cabd4.tar.bz2
mpv-be259be15c762abe4aa67dd0c932c389105cabd4.tar.xz
mp_image: get rid of chroma_width/height fields
They are redundant. They were used by draw_bmp.c only, and only in a special code path that 1. used fixed image formats, and 2. had image sized perfectly aligned to chroma boundaries (so computing the chroma width/height is trivial).
Diffstat (limited to 'video')
-rw-r--r--video/mp_image.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/mp_image.h b/video/mp_image.h
index 70931ffb55..16862f9882 100644
--- a/video/mp_image.h
+++ b/video/mp_image.h
@@ -96,8 +96,6 @@ typedef struct mp_image {
int fields;
/* redundant */
- int chroma_width;
- int chroma_height;
int plane_w[MP_MAX_PLANES];
int plane_h[MP_MAX_PLANES];