From 1800761a6501f2c39d65257f707de148a77bca47 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 27 Dec 2012 01:27:59 +0100 Subject: mp_image: remove mp_image.bpp This field contained the "average" bit depth per pixel. It serves no purpose anymore. Remove it. Only vo_opengl_old still uses this in order to allocate a buffer that is shared between all planes. --- video/mp_image.c | 1 - 1 file changed, 1 deletion(-) (limited to 'video/mp_image.c') diff --git a/video/mp_image.c b/video/mp_image.c index 832dec98fd..dd58f131a8 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -129,7 +129,6 @@ void mp_image_setfmt(struct mp_image *mpi, unsigned int out_fmt) mpi->fmt = fmt; mpi->flags |= fmt.flags; mpi->imgfmt = fmt.id; - mpi->bpp = fmt.avg_bpp; mpi->chroma_x_shift = fmt.chroma_xs; mpi->chroma_y_shift = fmt.chroma_ys; mpi->num_planes = fmt.num_planes; -- cgit v1.2.3