From be259be15c762abe4aa67dd0c932c389105cabd4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 9 Apr 2015 21:11:20 +0200 Subject: 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). --- video/mp_image.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'video') 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]; -- cgit v1.2.3