summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-09 21:46:28 +0200
committerwm4 <wm4@nowhere>2015-04-09 21:46:28 +0200
commit8fe640c47d128b886d82df1e04702c568ff59077 (patch)
tree6785b50ff86c26e62d26011ca2cc963670162533
parentbe259be15c762abe4aa67dd0c932c389105cabd4 (diff)
downloadmpv-8fe640c47d128b886d82df1e04702c568ff59077.tar.bz2
mpv-8fe640c47d128b886d82df1e04702c568ff59077.tar.xz
mp_image: fix build
-rw-r--r--video/mp_image.c2
1 files changed, 0 insertions, 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,