From 8fe640c47d128b886d82df1e04702c568ff59077 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 9 Apr 2015 21:46:28 +0200 Subject: mp_image: fix build --- video/mp_image.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/video/mp_image.c b/video/mp_image.c index da644d57fe..aa0bb5cf25 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -175,8 +175,6 @@ void mp_image_set_size(struct mp_image *mpi, int w, int h) mpi->plane_w[n] = mp_chroma_div_up(mpi->w, mpi->fmt.xs[n]); mpi->plane_h[n] = mp_chroma_div_up(mpi->h, mpi->fmt.ys[n]); } - mpi->chroma_width = mpi->plane_w[1]; - mpi->chroma_height = mpi->plane_h[1]; } void mp_image_set_params(struct mp_image *image, -- cgit v1.2.3